Skip to content

Commit

Permalink
feat: upgrade CI Python version to 3.12
Browse files Browse the repository at this point in the history
BREAKING CHANGE: trigger major release
  • Loading branch information
hsluoyz committed Mar 29, 2024
1 parent 503ec67 commit 7886242
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: '3.11'
python-version: '3.12'
architecture: 'x64'


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.11'
python-version: '3.12'

- name: Install setuptools
run: python -m pip install --upgrade setuptools wheel twine
Expand Down
32 changes: 14 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,12 @@

setup(
name="fastapi-authz",
author="Zxilly",
author_email="zhouxinyu1001@gmail.com",
description="An authorization middleware for FastAPI that supports ACL, RBAC, ABAC, based on PyCasbin",
long_description=long_description,
long_description_content_type="text/markdown",
author="Zxilly",
author_email="zhouxinyu1001@gmail.com",
url="https://github.com/pycasbin/fastapi-authz",
license="Apache 2.0",
python_requires=">=3.6",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
keywords=[
"fastapi",
"starlette",
Expand All @@ -59,8 +45,18 @@
"permission"
],
packages=find_packages(exclude=["docs", "test*"]),
install_requires=install_requires,
python_requires=">=3.6",
data_files=[desc_file, "requirements.txt"],
include_package_data=True,
install_requires=install_requires,
dependency_links=dependency_links
dependency_links=dependency_links,
license="Apache 2.0",
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)

0 comments on commit 7886242

Please sign in to comment.