diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 4a657d1..a6b1576 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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 }} @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 834f23e..d0d02cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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"]