Skip to content

Commit

Permalink
setup.py: drop python 3.5 support
Browse files Browse the repository at this point in the history
Generates new python-support.svg with all supported python versions.
Add python 3.9 and 3.10 to the test matrix.
  • Loading branch information
Arnold Czémán authored and cemiarni committed Dec 16, 2021
1 parent 6cd8aeb commit 2e74e39
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ bump-version:
./bump_version.py

generate-badge:
$(VIRTUALENV)/bin/anybadge --value='3.5 | 3.6 | 3.7 | 3.8' --label python --file python-support.svg --overwrite
$(VIRTUALENV)/bin/anybadge --value='3.6 | 3.7 | 3.8 | 3.9 | 3.10' --label python --file python-support.svg --overwrite
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Dependencies

The only dependencies are:

- Python3.5+
- Python3.6+
- Linux kernel 2.6.24+
- A libc that implements setns() and nsenter() (that’s basically any
libc released after 2007)
Expand Down
12 changes: 6 additions & 6 deletions python-support.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
from furnace.version import get_version


if sys.version_info < (3, 5):
sys.exit('Python version 3.5+ is required for furnace')
if sys.version_info < (3, 6):
sys.exit('Python version 3.6+ is required for furnace')

with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
Expand All @@ -52,5 +52,5 @@
package_data={'furnace': [
'VERSION',
]},
python_requires=">=3.5",
python_requires=">=3.6",
)

0 comments on commit 2e74e39

Please sign in to comment.