From 4beb0baf43e55a3ba2fdb6c30b7110135d66f8ab Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 29 Mar 2024 19:26:25 +0800 Subject: [PATCH] feat: upgrade CI Node.js version to 20 --- .github/workflows/build.yml | 6 +++--- README.md | 4 ++-- pyproject.toml | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60d60a7..a6a3495 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] os: [ubuntu-latest, macOS-latest, windows-latest] steps: @@ -84,7 +84,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Setup run: npm install @@ -92,7 +92,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: '3.12' - name: Release env: diff --git a/README.md b/README.md index 3b57950..2b8caaa 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Django ORM Adapter for PyCasbin -[![Build Status](https://www.travis-ci.org/pycasbin/django-orm-adapter.svg?branch=master)](https://www.travis-ci.org/pycasbin/django-orm-adapter) +[![GitHub Action](https://github.com/pycasbin/django-orm-adapter/workflows/build/badge.svg?branch=master)](https://github.com/pycasbin/django-orm-adapter/actions) [![Coverage Status](https://coveralls.io/repos/github/pycasbin/django-orm-adapter/badge.svg)](https://coveralls.io/github/pycasbin/django-orm-adapter) [![Version](https://img.shields.io/pypi/v/casbin-django-orm-adapter.svg)](https://pypi.org/project/casbin-django-orm-adapter/) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/casbin-django-orm-adapter.svg)](https://pypi.org/project/casbin-django-orm-adapter/) [![Pyversions](https://img.shields.io/pypi/pyversions/casbin-django-orm-adapter.svg)](https://pypi.org/project/casbin-django-orm-adapter/) [![Download](https://img.shields.io/pypi/dm/casbin-django-orm-adapter.svg)](https://pypi.org/project/casbin-django-orm-adapter/) -[![License](https://img.shields.io/pypi/l/casbin-django-orm-adapter.svg)](https://pypi.org/project/casbin-django-orm-adapter/) +[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](https://discord.gg/S5UjpzGZjN) Django ORM Adapter is the [Django](https://www.djangoproject.com/)'s [ORM](https://docs.djangoproject.com/en/3.0/ref/databases/) adapter for [PyCasbin](https://github.com/pycasbin/django-orm-adapter). With this library, Casbin can load policy from Django ORM supported database or save policy to it. diff --git a/pyproject.toml b/pyproject.toml index 6236919..ab6e160 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,11 +20,10 @@ dynamic = ["dependencies"] requires-python = ">=3.7" license = {text = "Apache 2.0"} classifiers = [ - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "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", ]