Skip to content

Commit c31746f

Browse files
committed
Move to python3
1 parent d6afd0c commit c31746f

File tree

5 files changed

+9
-17
lines changed

5 files changed

+9
-17
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["2.7", "3.6"]
15+
python-version: ["3.7", "3.8", "3.9"]
1616

1717
steps:
1818
- uses: actions/checkout@v3

.travis.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.3"
5-
- "3.4"
6-
- "3.5"
7-
- "3.6"
3+
- "3.7"
84
install: pip install -r requirements.txt
95
script: nosetests --with-coverage --cover-tests --cover-package=nuheat
106
after_success: coveralls

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.6-slim
1+
FROM python:3.7-slim
22

33
VOLUME /python-nuheat
44
WORKDIR /python-nuheat

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
[![PyPI version](https://badge.fury.io/py/nuheat.svg)](https://badge.fury.io/py/nuheat)
44
[![Travis](https://travis-ci.org/broox/python-nuheat.svg?branch=master)](https://travis-ci.org/broox/python-nuheat)
5-
[![Coveralls](https://coveralls.io/repos/github/broox/python-nuheat/badge.svg?branch=master&release=0.2.0)](https://coveralls.io/github/broox/python-nuheat?branch=master)
5+
[![Coveralls](https://coveralls.io/repos/github/broox/python-nuheat/badge.svg?branch=master&release=0.3.0)](https://coveralls.io/github/broox/python-nuheat?branch=master)
66
[![Supported Versions](https://img.shields.io/pypi/pyversions/nuheat.svg)](https://travis-ci.org/broox/python-nuheat)
77

8-
A Python 2/Python 3 library that allows control of connected [NuHeat Signature](http://www.nuheat.com/products/thermostats/signature-thermostat) radiant floor thermostats.
8+
A Python 3 library that allows control of connected [NuHeat Signature](http://www.nuheat.com/products/thermostats/signature-thermostat) radiant floor thermostats.
99

1010
* This uses the web-based NuHeat API, so it requires an external internet connection
1111
* The API in use is not an officially published API, so it could change without notice
1212
* Please contribute!
1313

1414
# Installation
1515

16-
```
16+
```shell
1717
$ pip install nuheat
1818
```
1919

2020
# Usage
2121

22-
```
22+
```python
2323
from nuheat import NuHeat
2424

2525
# Initalize an API session with your login credentials

setup.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
'License :: OSI Approved :: MIT License',
1717
'Operating System :: OS Independent',
1818
'Programming Language :: Python',
19-
'Programming Language :: Python :: 2.7',
20-
'Programming Language :: Python :: 3.3',
21-
'Programming Language :: Python :: 3.4',
22-
'Programming Language :: Python :: 3.5',
23-
'Programming Language :: Python :: 3.6',
19+
'Programming Language :: Python :: 3.7',
2420
'Topic :: Software Development :: Libraries :: Python Modules',
2521
'Topic :: Home Automation',
2622
],
@@ -36,5 +32,5 @@
3632
'responses==0.8.1',
3733
]
3834
},
39-
python_requires=">=2.7",
35+
python_requires=">=3.7",
4036
)

0 commit comments

Comments
 (0)