From 7d5454e18d031de13091d41d879420162293a6dc Mon Sep 17 00:00:00 2001 From: lucas-nelson-uiuc Date: Fri, 27 Dec 2024 13:07:07 -0600 Subject: [PATCH] build: update package, testing dependencies --- .github/workflows/pytest.yml | 9 ++++++--- pyproject.toml | 4 ++-- src/tidy_tools/model/logger.py | 1 - uv.lock | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 src/tidy_tools/model/logger.py diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f63392f..08a0e84 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -6,14 +6,17 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13"] + pyspark-version: ["3.5.1", "3.5.2", "3.5.3", "3.5.4"] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.10" - # You can test your matrix by printing the current Python version + python-version: ${{ matrix.python-version }} - name: Install Dependencies run: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index b675fc6..78841e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,9 @@ description = "Declarative programming for PySpark workflows." readme = "README.md" requires-python = ">=3.10" dependencies = [ - "attrs>=24.2.0", + "attrs>=22.1.0", "loguru>=0.7.3", - "pyspark>=3.5", + "pyspark>=3.5.0,<3.6", ] [build-system] diff --git a/src/tidy_tools/model/logger.py b/src/tidy_tools/model/logger.py deleted file mode 100644 index 45458ef..0000000 --- a/src/tidy_tools/model/logger.py +++ /dev/null @@ -1 +0,0 @@ -# use attrs.asdict(..., value_serializer=...)? diff --git a/uv.lock b/uv.lock index 69974fe..a202692 100644 --- a/uv.lock +++ b/uv.lock @@ -158,9 +158,9 @@ lint = [ [package.metadata] requires-dist = [ - { name = "attrs", specifier = ">=24.2.0" }, + { name = "attrs", specifier = ">=22.1.0" }, { name = "loguru", specifier = ">=0.7.3" }, - { name = "pyspark", specifier = ">=3.5" }, + { name = "pyspark", specifier = ">=3.5.0,<3.6" }, ] [package.metadata.requires-dev]