Skip to content

Commit 27c474c

Browse files
authored
Merge pull request #96 from nannan00/fix_github_action_1
fix: github action
2 parents 35e439c + 14c5134 commit 27c474c

File tree

4 files changed

+26
-38
lines changed

4 files changed

+26
-38
lines changed

.github/workflows/flake8_and_black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up Python 3.6
19+
- name: Set up Python 3.11
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.6.15
22+
python-version: 3.11.10
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up Python 3.6
19+
- name: Set up Python 3.11
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.6.15
22+
python-version: 3.11.10
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

requirements_test.txt

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,21 @@
1-
atomicwrites==1.4.0
2-
attrs==19.3.0
3-
backports.functools-lru-cache==1.6.1; python_version < "3.2"
4-
cachetools==3.1.1
5-
certifi==2020.4.5.2
6-
chardet==3.0.4
7-
colorama==0.4.3; sys_platform == "win32" and python_version != "3.4"
8-
configparser==4.0.2; python_version < "3"
9-
contextlib2==0.6.0.post1; python_version < "3.4"
10-
coverage==5.1
11-
curlify==2.2.1
12-
django==1.11.29
13-
django-tastypie==0.14.3
14-
funcsigs==1.0.2; python_version < "3.3"
15-
idna==2.9
16-
importlib-metadata==1.6.1; python_version < "3.8"
17-
mock==3.0.5
18-
more-itertools==5.0.0; python_version <= "2.7" or python_version > "2.7"
19-
packaging==20.4
20-
pathlib2==2.3.5; python_version < "3.6"
21-
pluggy==0.13.1
22-
py==1.10.0
23-
pyparsing==2.4.7
24-
pytest==4.6.10
25-
pytest-cov==2.9.0
26-
pytz==2020.1
27-
requests==2.23.0
28-
scandir==1.10.0; python_version < "3.5"
29-
six==1.14.0
30-
urllib3==1.25.9
31-
wcwidth==0.2.4
32-
zipp==1.2.0; python_version < "3.8"
1+
asgiref==3.8.1 ; python_version >= "3.8" and python_version < "3.13"
2+
backports-zoneinfo==0.2.1 ; python_version == "3.8"
3+
cachetools==5.5.2 ; python_version >= "3.8" and python_version < "3.13"
4+
certifi==2025.4.26 ; python_version >= "3.8" and python_version < "3.13"
5+
charset-normalizer==3.4.2 ; python_version >= "3.8" and python_version < "3.13"
6+
colorama==0.4.6 ; python_version >= "3.8" and python_version < "3.13" and sys_platform == "win32"
7+
curlify==2.2.1 ; python_version >= "3.8" and python_version < "3.13"
8+
django==4.2.21 ; python_version >= "3.8" and python_version < "3.13"
9+
exceptiongroup==1.3.0 ; python_version >= "3.8" and python_version < "3.11"
10+
idna==3.10 ; python_version >= "3.8" and python_version < "3.13"
11+
iniconfig==2.1.0 ; python_version >= "3.8" and python_version < "3.13"
12+
packaging==25.0 ; python_version >= "3.8" and python_version < "3.13"
13+
pluggy==1.5.0 ; python_version >= "3.8" and python_version < "3.13"
14+
pytest==8.3.5 ; python_version >= "3.8" and python_version < "3.13"
15+
requests==2.32.3 ; python_version >= "3.8" and python_version < "3.13"
16+
six==1.17.0 ; python_version >= "3.8" and python_version < "3.13"
17+
sqlparse==0.5.3 ; python_version >= "3.8" and python_version < "3.13"
18+
tomli==2.2.1 ; python_version >= "3.8" and python_version < "3.11"
19+
typing-extensions==4.13.2 ; python_version >= "3.8" and python_version < "3.11"
20+
tzdata==2025.2 ; python_version >= "3.8" and python_version < "3.13" and sys_platform == "win32"
21+
urllib3==2.2.3 ; python_version >= "3.8" and python_version < "3.13"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
packages=setuptools.find_packages(),
3333
install_requires=requires,
3434
classifiers=[
35-
"Programming Language :: Python :: 2.7",
3635
"Programming Language :: Python :: 3.6",
3736
"Programming Language :: Python :: 3.7",
3837
"Programming Language :: Python :: 3.8",
@@ -42,5 +41,5 @@
4241
"License :: OSI Approved :: MIT License",
4342
"Operating System :: OS Independent",
4443
],
45-
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4",
44+
python_requires=">3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4",
4645
)

0 commit comments

Comments
 (0)