From cfb15b20c23e66218d4ab75d246eef3053f2489a Mon Sep 17 00:00:00 2001 From: Corey Schaf Date: Mon, 5 Feb 2024 20:03:01 -0500 Subject: [PATCH] lowers python base requirements (#23) * lowers python base requirements * adjuts gh workflow, tested against poetry env switch to 3.9.18 --- .github/workflows/python-app.yml | 2 +- .python-version | 1 + nhlpy/_version.py | 2 +- pyproject.toml | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .python-version diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ddd9513..300c8d7 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -22,7 +22,7 @@ jobs: # reference the matrixe python version here. - uses: actions/setup-python@v2 with: - python-version: 3.10.6 + python-version: 3.9.18 # Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow # from installing Poetry every time, which can be slow. Note the use of the Poetry version diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..43077b2 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9.18 diff --git a/nhlpy/_version.py b/nhlpy/_version.py index c74d9fa..91199ca 100644 --- a/nhlpy/_version.py +++ b/nhlpy/_version.py @@ -1,3 +1,3 @@ # Should this be driven by the main pyproject.toml file? yes, is it super convoluted? yes, can it wait? sure -__version__ = "2.1.5" +__version__ = "2.2.0" diff --git a/pyproject.toml b/pyproject.toml index 4e043a8..8ed2413 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "nhl-api-py" -version = "2.1.5" +version = "2.2.0" description = "NHL API. For standings, team stats, outcomes, player information. Contains each individual API endpoint as well as convience methods for easy data loading in Pandas or any ML applications." authors = ["Corey Schaf "] readme = "README.md" @@ -30,7 +30,7 @@ include = [ ] [tool.poetry.dependencies] -python = "^3.10" +python = "^3.9" httpx = "*" [tool.poetry.group.dev.dependencies]