Skip to content

Commit 6f94d6b

Browse files
committed
Update workflow versions, platforms, library and tool versions and README to Python 3.7
1 parent 2e24af0 commit 6f94d6b

File tree

6 files changed

+17
-22
lines changed

6 files changed

+17
-22
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
1515
experimental: [false]
16-
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy-3.7"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.7", "pypy-3.8"]
1717
include:
18-
# Skipping Py 3.10 on Windows until windows-curses has a cp310 wheel,
19-
# see https://github.com/zephyrproject-rtos/windows-curses/issues/26
18+
# Only test on a single configuration while there are just pre-releases
2019
- os: ubuntu-latest
21-
experimental: false
22-
python-version: "3.10"
23-
- os: macos-latest
24-
experimental: false
25-
python-version: "3.10"
20+
experimental: true
21+
python-version: "3.11.0-alpha.3"
2622
fail-fast: false
2723
steps:
2824
- uses: actions/checkout@v2
@@ -38,15 +34,15 @@ jobs:
3834
run: |
3935
tox -e gh
4036
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v1
37+
uses: codecov/codecov-action@v2
4238
with:
4339
fail_ci_if_error: true
4440

4541
format:
4642
runs-on: ubuntu-latest
4743
steps:
4844
- uses: actions/checkout@v2
49-
- name: Set up Python 3.10
45+
- name: Set up Python
5046
uses: actions/setup-python@v2
5147
with:
5248
python-version: "3.10"

.github/workflows/format-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v2
1515
with:
16-
python-version: 3.9
16+
python-version: 3.10
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ Python developers; providing common abstractions to
5151
different hardware devices, and a suite of utilities for sending and receiving
5252
messages on a can bus.
5353

54-
The library currently supports Python 3.6+ as well as PyPy 3 and runs
54+
The library currently supports Python 3.7+ as well as PyPy 3 and runs
5555
on Mac, Linux and Windows.
5656

5757
============================== ===========
5858
Library Version Python
5959
------------------------------ -----------
6060
2.x 2.6+, 3.4+
6161
3.x 2.7+, 3.5+
62-
4.x *(currently on develop)* 3.6+
62+
4.x *(currently on develop)* 3.7+
6363
============================== ===========
6464

6565

requirements-lint.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pylint==2.11.1
2-
black==21.10b0
3-
mypy==0.910
1+
pylint==2.12.2
2+
black==21.12b0
3+
mypy==0.931
44
mypy-extensions==0.4.3

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
classifiers=[
4545
# a list of all available ones: https://pypi.org/classifiers/
4646
"Programming Language :: Python",
47-
"Programming Language :: Python :: 3.6",
4847
"Programming Language :: Python :: 3.7",
4948
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
@@ -73,7 +72,7 @@
7372
version=version,
7473
packages=find_packages(exclude=["test*", "doc", "scripts", "examples"]),
7574
scripts=list(filter(isfile, (join("scripts/", f) for f in listdir("scripts/")))),
76-
author="Python CAN contributors",
75+
author="python-can contributors",
7776
license="LGPL v3",
7877
package_data={
7978
"": ["README.rst", "CONTRIBUTORS.txt", "LICENSE.txt", "CHANGELOG.txt"],
@@ -82,7 +81,7 @@
8281
},
8382
# Installation
8483
# see https://www.python.org/dev/peps/pep-0345/#version-specifiers
85-
python_requires=">=3.6",
84+
python_requires=">=3.7",
8685
install_requires=[
8786
"setuptools",
8887
"wrapt~=1.10",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
[testenv]
44
deps =
55
pytest==6.2.*,>=6.2.5
6-
pytest-timeout==2.0.1
6+
pytest-timeout==2.0.2
77
pytest-cov==3.0.0
8-
coverage==6.0.2
8+
coverage==6.2
99
codecov==2.1.12
10-
hypothesis~=6.24.0
10+
hypothesis~=6.35.0
1111
pyserial~=3.5
1212
parameterized~=0.8
1313

0 commit comments

Comments
 (0)