Skip to content

Commit 7886242

Browse files
committed
feat: upgrade CI Python version to 3.12
BREAKING CHANGE: trigger major release
1 parent 503ec67 commit 7886242

3 files changed

Lines changed: 16 additions & 20 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-python@v2
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717
architecture: 'x64'
1818

1919

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up python
2525
uses: actions/setup-python@v2
2626
with:
27-
python-version: '3.11'
27+
python-version: '3.12'
2828

2929
- name: Install setuptools
3030
run: python -m pip install --upgrade setuptools wheel twine

setup.py

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,12 @@
2323

2424
setup(
2525
name="fastapi-authz",
26+
author="Zxilly",
27+
author_email="zhouxinyu1001@gmail.com",
2628
description="An authorization middleware for FastAPI that supports ACL, RBAC, ABAC, based on PyCasbin",
2729
long_description=long_description,
2830
long_description_content_type="text/markdown",
29-
author="Zxilly",
30-
author_email="zhouxinyu1001@gmail.com",
3131
url="https://github.com/pycasbin/fastapi-authz",
32-
license="Apache 2.0",
33-
python_requires=">=3.6",
34-
classifiers=[
35-
"Development Status :: 3 - Alpha",
36-
"Intended Audience :: Developers",
37-
"Programming Language :: Python :: 3 :: Only",
38-
"Programming Language :: Python :: 3",
39-
"Programming Language :: Python :: 3.9",
40-
"Programming Language :: Python :: 3.10",
41-
"Programming Language :: Python :: 3.11",
42-
"Programming Language :: Python :: 3.12",
43-
"License :: OSI Approved :: Apache Software License",
44-
"Operating System :: OS Independent",
45-
],
4632
keywords=[
4733
"fastapi",
4834
"starlette",
@@ -59,8 +45,18 @@
5945
"permission"
6046
],
6147
packages=find_packages(exclude=["docs", "test*"]),
48+
install_requires=install_requires,
49+
python_requires=">=3.6",
6250
data_files=[desc_file, "requirements.txt"],
6351
include_package_data=True,
64-
install_requires=install_requires,
65-
dependency_links=dependency_links
52+
dependency_links=dependency_links,
53+
license="Apache 2.0",
54+
classifiers=[
55+
"Programming Language :: Python :: 3.9",
56+
"Programming Language :: Python :: 3.10",
57+
"Programming Language :: Python :: 3.11",
58+
"Programming Language :: Python :: 3.12",
59+
"License :: OSI Approved :: Apache Software License",
60+
"Operating System :: OS Independent",
61+
],
6662
)

0 commit comments

Comments
 (0)