Skip to content

Commit 467fde1

Browse files
committed
Drop Python 3.9, bump PPT
1 parent 9ab6f1d commit 467fde1

File tree

4 files changed

+12
-23
lines changed

4 files changed

+12
-23
lines changed

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v2.0.6
2+
_commit: v2.0.7
33
_src_path: gh:lincc-frameworks/python-project-template
44
author_email: [email protected]
55
author_name: LINCC Frameworks
@@ -18,8 +18,8 @@ project_license: MIT
1818
project_name: nested-pandas
1919
project_organization: lincc-frameworks
2020
python_versions:
21-
- '3.9'
2221
- '3.10'
2322
- '3.11'
2423
- '3.12'
2524
- '3.13'
25+
test_lowest_version: all

.github/workflows/smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.10', '3.11', '3.12', '3.13']
2424

2525
steps:
2626
- uses: actions/checkout@v4

.github/workflows/testing-and-coverage.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# This workflow will install Python dependencies, run tests and report code coverage with a variety of Python versions
23
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
34

@@ -15,7 +16,7 @@ jobs:
1516
runs-on: ubuntu-latest
1617
strategy:
1718
matrix:
18-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19+
python-version: ['3.10', '3.11', '3.12', '3.13']
1920

2021
steps:
2122
- uses: actions/checkout@v4
@@ -36,26 +37,23 @@ jobs:
3637
uses: codecov/codecov-action@v5
3738
with:
3839
token: ${{ secrets.CODECOV_TOKEN }}
39-
4040
test-lowest-versions:
41-
4241
runs-on: ubuntu-latest
43-
4442
steps:
4543
- uses: actions/checkout@v4
46-
- name: Set up Python 3.9
44+
- name: Set up Python 3.10
4745
uses: actions/setup-python@v5
4846
with:
49-
python-version: '3.9'
47+
python-version: '3.10'
5048
- name: Install dependencies
5149
run: |
5250
sudo apt-get update
5351
python -m pip install --upgrade uv
5452
uv venv venv
5553
source venv/bin/activate
5654
uv pip compile --resolution=lowest -o requirements_lowest.txt pyproject.toml
57-
uv pip install --constraint=requirements_lowest.txt -e '.[dev]'
55+
uv pip install --constraint=requirements_lowest.txt -e .[dev]
5856
- name: Run unit tests with pytest
5957
run: |
6058
source venv/bin/activate
61-
python -m pytest
59+
python -m pytest

pyproject.toml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"Programming Language :: Python",
1717
]
1818
dynamic = ["version"]
19-
requires-python = ">=3.9"
19+
requires-python = ">=3.10"
2020
dependencies = [
2121
"numpy>=2",
2222
# We use internal pd._libs.missing and experimental ArrowExtensionArray
@@ -60,18 +60,9 @@ testpaths = [
6060
]
6161
addopts = "--doctest-modules --doctest-glob=*.rst"
6262

63-
[tool.black]
64-
line-length = 110
65-
target-version = ["py39"]
66-
67-
[tool.isort]
68-
profile = "black"
69-
line_length = 110
70-
7163
[tool.ruff]
7264
line-length = 110
73-
target-version = "py39"
74-
65+
target-version = "py310"
7566
[tool.ruff.lint]
7667
select = [
7768
# pycodestyle
@@ -103,7 +94,6 @@ select = [
10394
# Numpy v2.0 compatibility
10495
"NPY201",
10596
]
106-
10797
ignore = [
10898
"UP006", # Allow non standard library generics in type hints
10999
"UP007", # Allow Union in type hints
@@ -113,6 +103,7 @@ ignore = [
113103
"UP015", # Allow redundant open parameters
114104
"UP028", # Allow yield in for loop
115105
]
106+
116107
[tool.setuptools.package-data]
117108
nested_pandas = ["py.typed"]
118109

0 commit comments

Comments
 (0)