Compare commits

..

3 Commits

Author SHA1 Message Date
Sebastian Lohff 2a19a29aa1 Release 0.5.4 2023-01-23 21:50:44 +01:00
Sebastian Lohff 1d12ee4704 Drop python3.6 support
servefile still works with python3.6, we just no longer test this.
2023-01-23 21:50:42 +01:00
Sebastian Lohff 876d190703 Ignore python3.11 cgi deprecation warning
The cgi module is marked as deprecated and will be removed in
python3.13. servefile uses the module for its FieldStorage class used in
the upload functionality. For now I will just ignore this, so servefile
doesn't print out the warning each time it is run, but soon this will
require either a rewrite of FieldStorage or an external library.

With this commit we also now officially support python3.10 and
python3.11.
2023-01-23 21:50:11 +01:00
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python: [2.7, 3.6, 3.7, 3.8, 3.9] python: [2.7, 3.7, 3.8, 3.9, "3.10", 3.11]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -8,7 +8,8 @@ servefile changelog
* code reformatting for better maintainability * code reformatting for better maintainability
* upload to uploaddir instead of /tmp for large files * upload to uploaddir instead of /tmp for large files
* python3.11 support * add python3.10 / python3.11 support
* drop python3.6 support
2021-11-18 v0.5.3 2021-11-18 v0.5.3

View File

@ -38,7 +38,6 @@ setup(
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27,py36,py37,py38,py39,pep8 envlist = py27,py37,py38,py39,py310,py311,pep8
[testenv] [testenv]
deps = deps =