Skip to content

Commit

Permalink
Fix #261 # 262 Update Python and Django versions
Browse files Browse the repository at this point in the history
- Removed Python 3.5 and 3.6
- Added Python 3.10
- Updated Django 4 version
  • Loading branch information
pauloxnet authored and dnozay committed Jan 20, 2022
1 parent 5f54e2c commit 0d3fc43
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ jobs:
strategy:
matrix:
include:
- python-version: 3.5
toxenv: py35
- python-version: 3.6
toxenv: py36
- python-version: 3.7
toxenv: py37
- python-version: 3.8
Expand All @@ -28,6 +24,8 @@ jobs:
toxenv: py38-quality
- python-version: 3.9
toxenv: py39
- python-version: "3.10"
toxenv: py310
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ and continuous integration servers.

## Requirements

* Python 3.5+
* Python 3.7+
* Please note Python 3.6 end-of-life was in Dec 2021, last version supporting 3.6 was 3.1.0
* Please note Python 3.5 end-of-life was in Sep 2020, last version supporting 3.5 was 3.1.0
* Please note Python 2.7 end-of-life was in Jan 2020, last version supporting 2.7 was 2.5.2
* Please note Python 3.4 end-of-life was in Mar 2019, last version supporting 3.4 was 2.5.2
* Please note Python 2.6 end-of-life was in Oct 2013, last version supporting 2.6 was 1.14.0
Expand Down
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

# this is for sdist to work.
import sys
if sys.version_info < (3, 5):
raise RuntimeError('This version requires Python 3.5+') # pragma: no cover
if sys.version_info < (3, 7):
raise RuntimeError('This version requires Python 3.7+') # pragma: no cover

setup(
name = 'unittest-xml-reporting',
Expand All @@ -31,7 +31,7 @@
install_requires = ['lxml'],
license = 'BSD',
platforms = ['Any'],
python_requires='>=3.5',
python_requires='>=3.7',
keywords = [
'pyunit', 'unittest', 'junit xml', 'xunit', 'report', 'testrunner', 'xmlrunner'
],
Expand All @@ -44,9 +44,11 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ testpaths = tests
norecursedirs = tests/django_example

[tox]
envlist = begin,py{py3,35,36,37,38},pytest,py38-django{lts,curr},end,quality
envlist = begin,py{py3,37,38,39,310},pytest,py38-django{lts,curr},end,quality

[gh-actions]
python =
3.5: py35
3.6: py36
3.7: py37,pytest
3.8: begin,py38,py38-django{lts,curr},end,quality
3.9: py39
3.10: py310

[testenv]
deps =
coverage
codecov>=1.4.0
coveralls
djangolts,pytest: django>=3.2.0,<4.0.0
djangocurr: django>=4.0a1,<4.1.0
djangolts,pytest: django~=3.2.0
djangocurr: django~=4.0.0
pytest: pytest
lxml>=3.6.0
commands =
Expand Down
2 changes: 1 addition & 1 deletion xmlrunner/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '3.1.0'
__version__ = '3.2.0'

0 comments on commit 0d3fc43

Please sign in to comment.