From f6057dd2243fc66283c6f30fa036183c4d2c19eb Mon Sep 17 00:00:00 2001 From: martvanrijthoven Date: Mon, 9 Sep 2024 11:31:48 +0200 Subject: [PATCH] update python version for publishing --- .github/workflows/docs.yml | 2 +- .github/workflows/publish.yml | 1 + .github/workflows/pypi.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- pyproject.toml | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 51ab96e..83e9b53 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,7 +8,7 @@ on: - README.md env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.10.14" jobs: docs: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 36072e4..d455efd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,7 @@ name: Publish on: + workflow_call: push: branches: [main] paths: diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index a96dd7e..07784d6 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -17,10 +17,10 @@ jobs: - uses: actions/checkout@v2 # Sets up python - - name: Set up Python 3.10 + - name: Set up Python 3.10.14 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: 3.10.14 # Install dependencies - name: "Installs dependencies" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fd4355..d1da4fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.10 + - name: Set up Python 3.10.14 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: 3.10.14 - name: release version run: | diff --git a/pyproject.toml b/pyproject.toml index 5897bb4..0c8a72a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ ] readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9",