From 5281ffa4f2924adac7435cf8f9be3c23a57938a2 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Tue, 25 Oct 2022 15:18:57 -0700 Subject: [PATCH 1/2] Add support for Python 3.11 --- .circleci/config.yml | 1 + pybadges/version.py | 2 +- setup.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c1287c6..e55c157 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,6 +92,7 @@ workflows: - Lint - Unit Test - Type Check + - Compatibility Test 3.11 - Compatibility Test 3.10 - Compatibility Test 3.9 - Compatibility Test 3.8 diff --git a/pybadges/version.py b/pybadges/version.py index 401bd4f..b7d98ae 100644 --- a/pybadges/version.py +++ b/pybadges/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = '3.0.0' # Also change in setup.py. +__version__ = '3.0.1' # Also change in setup.py. diff --git a/setup.py b/setup.py index 5a7efb0..0f76ab9 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def replace_relative_with_absolute(match): setup( name='pybadges', - version='3.0.0', # Also change in version.py. + version='3.0.1', # Also change in version.py. author='Brian Quinlan', author_email='brian@sweetapp.com', classifiers=[ @@ -53,6 +53,7 @@ def replace_relative_with_absolute(match): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Operating System :: OS Independent', ], description='A library and command-line tool for generating Github-style ' + From 695b85ff294126d788fd7cc456de4675acefb373 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Tue, 25 Oct 2022 15:37:17 -0700 Subject: [PATCH 2/2] Add test --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e55c157..a1b8fdb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,16 @@ jobs: pip install virtualenv pip install nox nox -f noxfile.py -s unit + Compatibility Test 3.11: + docker: + - image: cimg/python:3.11.0 + steps: + - checkout + - run: + command: | + pip install virtualenv + pip install nox + nox -f noxfile.py -s compatibility Compatibility Test 3.10: docker: - image: cimg/python:3.10.2