Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0d3fc43

Browse files
pauloxnetdnozay
authored andcommitted
Fix #261 # 262 Update Python and Django versions
- Removed Python 3.5 and 3.6 - Added Python 3.10 - Updated Django 4 version
1 parent 5f54e2c commit 0d3fc43

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

‎.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- python-version: 3.5
16-
toxenv: py35
17-
- python-version: 3.6
18-
toxenv: py36
1915
- python-version: 3.7
2016
toxenv: py37
2117
- python-version: 3.8
@@ -28,6 +24,8 @@ jobs:
2824
toxenv: py38-quality
2925
- python-version: 3.9
3026
toxenv: py39
27+
- python-version: "3.10"
28+
toxenv: py310
3129
steps:
3230
- name: Checkout
3331
uses: actions/checkout@v2

‎README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ and continuous integration servers.
1616

1717
## Requirements
1818

19-
* Python 3.5+
19+
* Python 3.7+
20+
* Please note Python 3.6 end-of-life was in Dec 2021, last version supporting 3.6 was 3.1.0
21+
* Please note Python 3.5 end-of-life was in Sep 2020, last version supporting 3.5 was 3.1.0
2022
* Please note Python 2.7 end-of-life was in Jan 2020, last version supporting 2.7 was 2.5.2
2123
* Please note Python 3.4 end-of-life was in Mar 2019, last version supporting 3.4 was 2.5.2
2224
* Please note Python 2.6 end-of-life was in Oct 2013, last version supporting 2.6 was 1.14.0

‎setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

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

2323
setup(
2424
name = 'unittest-xml-reporting',
@@ -31,7 +31,7 @@
3131
install_requires = ['lxml'],
3232
license = 'BSD',
3333
platforms = ['Any'],
34-
python_requires='>=3.5',
34+
python_requires='>=3.7',
3535
keywords = [
3636
'pyunit', 'unittest', 'junit xml', 'xunit', 'report', 'testrunner', 'xmlrunner'
3737
],
@@ -44,9 +44,11 @@
4444
'Operating System :: OS Independent',
4545
'Programming Language :: Python',
4646
'Programming Language :: Python :: 3',
47-
'Programming Language :: Python :: 3.5',
48-
'Programming Language :: Python :: 3.6',
47+
'Programming Language :: Python :: 3 :: Only',
4948
'Programming Language :: Python :: 3.7',
49+
'Programming Language :: Python :: 3.8',
50+
'Programming Language :: Python :: 3.9',
51+
'Programming Language :: Python :: 3.10',
5052
'Programming Language :: Python :: Implementation :: CPython',
5153
'Programming Language :: Python :: Implementation :: PyPy',
5254
'Topic :: Software Development :: Libraries :: Python Modules',

‎tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ testpaths = tests
44
norecursedirs = tests/django_example
55

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

99
[gh-actions]
1010
python =
11-
3.5: py35
12-
3.6: py36
1311
3.7: py37,pytest
1412
3.8: begin,py38,py38-django{lts,curr},end,quality
13+
3.9: py39
14+
3.10: py310
1515

1616
[testenv]
1717
deps =
1818
coverage
1919
codecov>=1.4.0
2020
coveralls
21-
djangolts,pytest: django>=3.2.0,<4.0.0
22-
djangocurr: django>=4.0a1,<4.1.0
21+
djangolts,pytest: django~=3.2.0
22+
djangocurr: django~=4.0.0
2323
pytest: pytest
2424
lxml>=3.6.0
2525
commands =

‎xmlrunner/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
__version__ = '3.1.0'
2+
__version__ = '3.2.0'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /