Skip to content

Commit

Permalink
feat: upgrade CI Node.js version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Mar 29, 2024
1 parent d9031b5 commit 6d00804
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'

- name: Setup
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

- name: Set up python
uses: actions/setup-python@v4
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: 15 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,12 @@

setup(
name="flask-authz",
author=["Yang Luo", "Sciencelogic"],
author_email="hsluoyz@gmail.com",
description="An authorization middleware for Flask that supports ACL, RBAC, ABAC, based on Casbin",
long_description=long_description,
long_description_content_type="text/markdown",
author=["Yang Luo", "Sciencelogic"],
author_email="hsluoyz@gmail.com",
url="https://github.com/pycasbin/flask-authz",
download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v,
license="Apache 2.0",
python_requires=">=3.5",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"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=[
"flask",
"pycasbin",
Expand All @@ -61,8 +47,20 @@
"permission",
],
packages=find_packages(exclude=["docs", "tests*"]),
install_requires=install_requires,
python_requires=">=3.5",
data_files=[desc_file],
include_package_data=True,
install_requires=install_requires,
dependency_links=dependency_links,
download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v,
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 6d00804

Please sign in to comment.