From 98f127dd9e8c130f26a4eb32a8e4c9649ad5c3e7 Mon Sep 17 00:00:00 2001 From: juk0de <5322305+juk0de@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:23:37 +0100 Subject: [PATCH] pyproject / github actions: increased python version to 3.11 --- .github/workflows/actions.yaml | 4 ++-- poetry.lock | 36 ++-------------------------------- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 37 deletions(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index 6fbfe70..c1b7520 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/poetry.lock b/poetry.lock index 7c727aa..193a67a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -72,26 +72,9 @@ files = [ {file = "coverage-7.6.0.tar.gz", hash = "sha256:289cc803fa1dc901f84701ac10c9ee873619320f2f9aff38794db4a4a0268d51"}, ] -[package.dependencies] -tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} - [package.extras] toml = ["tomli"] -[[package]] -name = "exceptiongroup" -version = "1.2.1" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.2.1-py3-none-any.whl", hash = "sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad"}, - {file = "exceptiongroup-1.2.1.tar.gz", hash = "sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16"}, -] - -[package.extras] -test = ["pytest (>=6)"] - [[package]] name = "iniconfig" version = "2.0.0" @@ -141,7 +124,6 @@ files = [ [package.dependencies] mypy-extensions = ">=1.0.0" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} typing-extensions = ">=4.6.0" [package.extras] @@ -289,7 +271,6 @@ files = [ [package.dependencies] numpy = [ - {version = ">=1.22.4", markers = "python_version < \"3.11\""}, {version = ">=1.23.2", markers = "python_version == \"3.11\""}, {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, ] @@ -365,11 +346,9 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=1.5,<2.0" -tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -455,17 +434,6 @@ files = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - [[package]] name = "types-pytz" version = "2024.2.0.20241003" @@ -501,5 +469,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.10" -content-hash = "403e46ae56a704c20212143c22f3ea41bbb45044a82b044da402ee7faa5886d6" +python-versions = "^3.11" +content-hash = "84aa470f7817e18b4540b599e645b1e281bc05a81b622defddc05f967c33ad19" diff --git a/pyproject.toml b/pyproject.toml index 58bb18a..b347a02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ mtf2json = 'mtf2json.cli:main' [tool.poetry.dependencies] -python = "^3.10" +python = "^3.11" pandas = "^2.2.3" [tool.poetry.group.dev.dependencies]