Skip to content

Commit 039ac95

Browse files
committedMar 29, 2024·
feat: upgrade CI Node.js version to 20
1 parent d9031b5 commit 039ac95

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed
 

‎.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ jobs:
7979
- name: Setup Node.js
8080
uses: actions/setup-node@v2
8181
with:
82-
node-version: '18'
82+
node-version: '20'
8383

8484
- name: Setup
8585
run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
8686

8787
- name: Set up python
8888
uses: actions/setup-python@v4
8989
with:
90-
python-version: 3.11
90+
python-version: '3.12'
9191

9292
- name: Install setuptools
9393
run: python -m pip install --upgrade setuptools wheel twine

‎setup.py

+14-17
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,12 @@
2727

2828
setup(
2929
name="flask-authz",
30+
author=["Yang Luo", "Sciencelogic"],
31+
author_email="hsluoyz@gmail.com",
3032
description="An authorization middleware for Flask that supports ACL, RBAC, ABAC, based on Casbin",
3133
long_description=long_description,
3234
long_description_content_type="text/markdown",
33-
author=["Yang Luo", "Sciencelogic"],
34-
author_email="hsluoyz@gmail.com",
3535
url="https://github.com/pycasbin/flask-authz",
36-
download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v,
37-
license="Apache 2.0",
38-
python_requires=">=3.5",
39-
classifiers=[
40-
"Development Status :: 5 - Production/Stable",
41-
"Intended Audience :: Developers",
42-
"Programming Language :: Python :: 3",
43-
"Programming Language :: Python :: 3.9",
44-
"Programming Language :: Python :: 3.10",
45-
"Programming Language :: Python :: 3.11",
46-
"Programming Language :: Python :: 3.12",
47-
"License :: OSI Approved :: Apache Software License",
48-
"Operating System :: OS Independent",
49-
],
5036
keywords=[
5137
"flask",
5238
"pycasbin",
@@ -61,8 +47,19 @@
6147
"permission",
6248
],
6349
packages=find_packages(exclude=["docs", "tests*"]),
50+
install_requires=install_requires,
51+
python_requires=">=3.5",
6452
data_files=[desc_file],
6553
include_package_data=True,
66-
install_requires=install_requires,
6754
dependency_links=dependency_links,
55+
download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v,
56+
license="Apache 2.0",
57+
classifiers=[
58+
"Programming Language :: Python :: 3.9",
59+
"Programming Language :: Python :: 3.10",
60+
"Programming Language :: Python :: 3.11",
61+
"Programming Language :: Python :: 3.12",
62+
"License :: OSI Approved :: Apache Software License",
63+
"Operating System :: OS Independent",
64+
],
6865
)

0 commit comments

Comments
 (0)
Please sign in to comment.