Skip to content

Commit

Permalink
✨ relax python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Apr 27, 2024
1 parent e79f1ce commit 0d3bfc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Test Commandline Script
run: |
fetch_orcid_pubs --help
# fetch_orcid_pubs --orcid-id 0000-0001-8833-7617 --lastname Webel --output-file test.md
fetch_orcid_pubs --orcid-id 0000-0001-8833-7617 --lastname Webel --output-file test.md
build_source_dist:
name: Build source distribution
Expand All @@ -71,7 +71,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install build
run: python -m pip install build
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ name = "list-publications"
# See the section below: [tools.setuptools.dynamic]
dynamic = ["version"]
readme = "README.md"
# We use features for Python 3.11, so we test it here.
requires-python = ">=3.11"
requires-python = ">=3.9"
# These are keywords
classifiers = [
"Programming Language :: Python :: 3",
Expand Down Expand Up @@ -42,6 +41,9 @@ docs = [
[tool.ruff]
ignore = ["E501"]

[tool.flake8]
max-line-length = 120

[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools_scm>=8"]
Expand Down

0 comments on commit 0d3bfc5

Please sign in to comment.