From 4feebc77feaad3a5b82ae23994b87edad46ce32f Mon Sep 17 00:00:00 2001 From: Joe Nudell Date: Tue, 16 Jul 2024 18:59:44 -0400 Subject: [PATCH] loosen py versions (#2) --- .github/workflows/python.yml | 7 +++++-- poetry.lock | 33 ++++++++++++++++++++++++++++++--- pyproject.toml | 16 ++++++++-------- 3 files changed, 43 insertions(+), 13 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b51cbb8..3d3d095 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -11,6 +11,9 @@ jobs: name: Test Python timeout-minutes: 10 runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] env: wd: ./ steps: @@ -22,10 +25,10 @@ jobs: - name: Set up poetry run: pipx install poetry - - name: Set up Python3.x + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: 3.12.3 + python-version: ${{ matrix.python-version }} cache: "poetry" id: py diff --git a/poetry.lock b/poetry.lock index be76998..c0e4c8b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "antlr4-python3-runtime" @@ -154,6 +154,20 @@ files = [ {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"}, ] +[[package]] +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "filelock" version = "3.15.4" @@ -382,9 +396,11 @@ 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"] @@ -489,6 +505,17 @@ urllib3 = ">=1.25.10,<3.0" [package.extras] tests = ["coverage (>=6.0.0)", "flake8", "mypy", "pytest (>=7.0.0)", "pytest-asyncio", "pytest-cov", "pytest-httpserver", "tomli", "tomli-w", "types-PyYAML", "types-requests"] +[[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-requests" version = "2.32.0.20240712" @@ -542,5 +569,5 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "d0733a3fe78115b95b774c19aa8606906550bc72060b9a0a7309e19aaa32eb8a" +python-versions = "^3.10" +content-hash = "96ce2d3f206e25a4dd113ad573dba5cbb5a2ec0a0d452de8914ef84a2d44110d" diff --git a/pyproject.toml b/pyproject.toml index f92e2ad..7e53c8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "alligater" -version = "0.1.1" -description = "" +version = "0.1.2" +description = "Randomization and gating library for Python." authors = ["Joe Nudell "] readme = "README.md" packages = [ @@ -10,12 +10,12 @@ packages = [ ] [tool.poetry.dependencies] -python = "^3.11" -mmh3 = "^4.1.0" -antlr4-python3-runtime = "^4.13.1" -requests = "^2.32.3" -pyyaml = "^6.0.1" -urllib3 = "^2.2.2" +python = "^3.10" +mmh3 = "^4.1" +antlr4-python3-runtime = "^4.13" +requests = "^2.32" +pyyaml = "^6.0" +urllib3 = "^2.2" [tool.poetry.group.dev.dependencies]