From 64ca53e083edaf734e9cc423fc13aea2d9c2d8ad Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 26 Aug 2023 00:31:39 +0200 Subject: [PATCH] pyproject.toml: project.requires-python = ">=3.11.1,<3.11.2" (#8229) * pyproject.toml: [project] requires-python = 3.11.1 * actions/setup-python with python-version-file: pyproject.toml * Update python_tests.yml * pyproject.toml project.requires-python = "3.11.1" * pyproject.toml project.requires-python = '3.11.1' * pyproject.toml project.requires-python = 3.11 * pyproject.toml project.requires-python = "3.11" * pyproject.toml: project.requires-python = "==3.11.1" * pyproject.toml: project.requires-python = "~=3.11.1" * pyproject.toml: project.requires-python = "==3.11.1" * pyproject.toml: project.requires-python = "== 3.11.1" * pyproject.toml: project.requires-python = ">=3.11.1,<3.11.2" --- .github/workflows/python_tests.yml | 6 +----- pyproject.toml | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 6ad058e2fdc..f8131b03595 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -17,10 +17,6 @@ permissions: jobs: python_tests: - strategy: - fail-fast: false - matrix: - python-version: ["3.11"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -28,7 +24,7 @@ jobs: submodules: true - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version-file: pyproject.toml - uses: actions/cache@v3 with: path: ${{ env.pythonLocation }} diff --git a/pyproject.toml b/pyproject.toml index 7134902675e..82697d7fc69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,11 @@ # verbose regular expressions by Black. Use [ ] to denote a significant space # character. +[project] +name = "openlibrary" +version = "1.0.0" +requires-python = ">=3.11.1,<3.11.2" + [tool.black] skip-string-normalization = true target-version = ["py311"]