From ac694677f5732dc36893be3b5fc9d82906d2287a Mon Sep 17 00:00:00 2001 From: James Braza Date: Wed, 25 Oct 2023 10:17:35 -0700 Subject: [PATCH 1/3] Added 3.12 to build matrix --- .github/workflows/job.test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/job.test.yml b/.github/workflows/job.test.yml index 37b5565..75325b9 100644 --- a/.github/workflows/job.test.yml +++ b/.github/workflows/job.test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v3 From 565c17fc757469ff2f384b093c824ae380216caf Mon Sep 17 00:00:00 2001 From: James Braza Date: Wed, 25 Oct 2023 10:19:53 -0700 Subject: [PATCH 2/3] Added Python 3.12 to README, with badge --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7548809..12f188d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # easy-entrez -![tests](https://github.com/krassowski/easy-entrez/workflows/tests/badge.svg) +![Tests](https://github.com/krassowski/easy-entrez/workflows/tests/badge.svg) ![CodeQL](https://github.com/krassowski/easy-entrez/workflows/CodeQL/badge.svg) [![Documentation Status](https://readthedocs.org/projects/easy-entrez/badge/?version=latest)](https://easy-entrez.readthedocs.io/en/latest/?badge=latest) [![DOI](https://zenodo.org/badge/272182307.svg)](https://zenodo.org/badge/latestdoi/272182307) +![Python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue) Python REST API for Entrez E-Utilities, aiming to be easy to use and reliable. @@ -11,11 +12,10 @@ Easy-entrez: - makes common tasks easy thanks to simple Pythonic API, - is typed and integrates well with mypy, -- is tested on Windows, Mac and Linux across Python 3.7, 3.8, 3.9, 3.10 and 3.11 +- is tested on Windows, Mac and Linux across Python 3.7 to 3.12, - is limited in scope, allowing to focus on the reliability of the core code, - does not use the stateful API as it is [error-prone](https://gitlab.com/ncbipy/entrezpy/-/issues/7) as seen on example of the alternative *entrezpy*. - ### Examples ```python From 3c583418779a4101ebe40426c2fb0883501baa2b Mon Sep 17 00:00:00 2001 From: James Braza Date: Wed, 25 Oct 2023 10:22:08 -0700 Subject: [PATCH 3/3] Added 3.12 classifier with python_requires for 3.7 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 083e1a9..6bf1f08 100644 --- a/setup.py +++ b/setup.py @@ -40,8 +40,10 @@ def get_long_description(file_name): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11' + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12' ], + python_requires=">=3.7", install_requires=['requests', 'typing_extensions'], extras_require={ 'with_progress_bars': ['tqdm'],