From 6f612919af55f549be9d301c95ce64050910b9f3 Mon Sep 17 00:00:00 2001 From: Jeremy Carbaugh <39159+jcarbaugh@users.noreply.github.com> Date: Sat, 16 May 2026 14:02:00 -0700 Subject: [PATCH 1/3] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5849b2c..220843d 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -6,11 +6,11 @@ jobs: linting: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set Python environment - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.12 + python-version: 3.14 architecture: x64 - name: Install dependencies @@ -28,13 +28,13 @@ jobs: needs: linting runs-on: ubuntu-latest strategy: - max-parallel: 6 + max-parallel: 7 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -48,11 +48,11 @@ jobs: needs: linting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set Python environment - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: 3.12 + python-version: 3.14 architecture: x64 - name: Install dependencies @@ -63,7 +63,7 @@ jobs: run: | python -m build . -w -n - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: wheels path: ./dist/*.whl From b6e556595cd2ec4b24941045f3314bf83cb8a914 Mon Sep 17 00:00:00 2001 From: Jeremy Carbaugh <39159+jcarbaugh@users.noreply.github.com> Date: Sat, 16 May 2026 14:04:51 -0700 Subject: [PATCH 2/3] update classifiers --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8793b2a..492c9b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,9 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14" ] license = { file = "LICENSE"} @@ -33,5 +35,5 @@ version = { attr = "us.version.__version__" } [tool.black] line-length = 120 -target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] +target-version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314'] include = '\.pyi?$' From c55fc1c671587b1246de444035959550080e2cdf Mon Sep 17 00:00:00 2001 From: Jeremy Carbaugh <39159+jcarbaugh@users.noreply.github.com> Date: Sat, 16 May 2026 14:07:09 -0700 Subject: [PATCH 3/3] black formatting --- us/states.py | 6 ++---- us/tests/test_us.py | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/us/states.py b/us/states.py index c8711bc..4fdab72 100644 --- a/us/states.py +++ b/us/states.py @@ -30,7 +30,6 @@ def __str__(self) -> str: return self.name - class State: abbr: str ap_abbr: Optional[str] @@ -639,8 +638,7 @@ def mapping(from_field: str, to_field: str, states: Optional[Iterable[State]] = "ap_abbr": None, "time_zones": ["America/Chicago"], "name_metaphone": "TKT", - "counties": [ - ], + "counties": [], } ) @@ -1897,7 +1895,7 @@ def mapping(from_field: str, to_field: str, states: Optional[Iterable[State]] = "time_zones": ["America/New_York"], "name_metaphone": "MSXSTS", "counties": [ - County(**{"fips": "25001", "ns_code": "00606927", "name": "Barnstable County"}), + County(**{"fips": "25001", "ns_code": "00606927", "name": "Barnstable County"}), County(**{"fips": "25003", "ns_code": "00606928", "name": "Berkshire County"}), County(**{"fips": "25005", "ns_code": "00606929", "name": "Bristol County"}), County(**{"fips": "25007", "ns_code": "00606930", "name": "Dukes County"}), diff --git a/us/tests/test_us.py b/us/tests/test_us.py index 5f3572e..bb446a9 100644 --- a/us/tests/test_us.py +++ b/us/tests/test_us.py @@ -6,7 +6,6 @@ import us - # attribute