Skip to content

Commit 2e617d3

Browse files
[2.3.x] DEPS: Drop Python 3.9 (#60792)
1 parent bb41546 commit 2e617d3

File tree

6 files changed

+12
-80
lines changed

6 files changed

+12
-80
lines changed

.github/workflows/package-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-22.04
5454
strategy:
5555
matrix:
56-
python-version: ['3.9', '3.10', '3.11']
56+
python-version: ['3.10', '3.11']
5757
fail-fast: false
5858
name: Test Conda Forge Recipe - Python ${{ matrix.python-version }}
5959
concurrency:

.github/workflows/unit-tests.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
platform: [ubuntu-22.04, ubuntu-24.04-arm]
30-
env_file: [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml]
30+
env_file: [actions-310.yaml, actions-311.yaml, actions-312.yaml]
3131
# Prevent the include jobs from overriding other jobs
3232
pattern: [""]
3333
pandas_future_infer_string: ["0"]
@@ -38,7 +38,7 @@ jobs:
3838
pytest_target: "pandas/tests/test_downstream.py"
3939
platform: ubuntu-22.04
4040
- name: "Minimum Versions"
41-
env_file: actions-39-minimum_versions.yaml
41+
env_file: actions-310-minimum_versions.yaml
4242
pattern: "not slow and not network and not single_cpu"
4343
platform: ubuntu-22.04
4444
- name: "Locale: it_IT"
@@ -63,11 +63,6 @@ jobs:
6363
# It will be temporarily activated during tests with locale.setlocale
6464
extra_loc: "zh_CN"
6565
platform: ubuntu-22.04
66-
- name: "Copy-on-Write 3.9"
67-
env_file: actions-39.yaml
68-
pattern: "not slow and not network and not single_cpu"
69-
pandas_copy_on_write: "1"
70-
platform: ubuntu-22.04
7166
- name: "Copy-on-Write 3.10"
7267
env_file: actions-310.yaml
7368
pattern: "not slow and not network and not single_cpu"
@@ -93,11 +88,6 @@ jobs:
9388
pattern: "not slow and not network and not single_cpu"
9489
pandas_copy_on_write: "warn"
9590
platform: ubuntu-22.04
96-
- name: "Copy-on-Write 3.9 (warnings)"
97-
env_file: actions-39.yaml
98-
pattern: "not slow and not network and not single_cpu"
99-
pandas_copy_on_write: "warn"
100-
platform: ubuntu-22.04
10191
- name: "Future infer strings"
10292
env_file: actions-312.yaml
10393
pandas_future_infer_string: "1"
@@ -228,7 +218,7 @@ jobs:
228218
matrix:
229219
# Note: Don't use macOS latest since macos 14 appears to be arm64 only
230220
os: [macos-13, macos-14, windows-latest]
231-
env_file: [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml]
221+
env_file: [actions-310.yaml, actions-311.yaml, actions-312.yaml]
232222
fail-fast: false
233223
runs-on: ${{ matrix.os }}
234224
name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }}

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- [macos-14, macosx_arm64]
101101
- [windows-2022, win_amd64]
102102
# TODO: support PyPy?
103-
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
103+
python: [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
104104
include:
105105
# TODO: Remove this plus installing build deps in cibw_before_build.sh
106106
# after pandas can be built with a released NumPy/Cython

ci/deps/actions-39-minimum_versions.yaml renamed to ci/deps/actions-310-minimum_versions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: pandas-dev
44
channels:
55
- conda-forge
66
dependencies:
7-
- python=3.9
7+
- python=3.10
88

99
# build dependencies
1010
- versioneer

ci/deps/actions-39.yaml

-64
This file was deleted.

doc/source/whatsnew/v2.3.0.rst

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ These are bug fixes that might have notable behavior changes.
5252
notable_bug_fix1
5353
^^^^^^^^^^^^^^^^
5454

55+
56+
Increased minimum version for Python
57+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58+
59+
pandas 2.3.0 supports Python 3.10 and higher.
60+
5561
.. ---------------------------------------------------------------------------
5662
.. _whatsnew_230.deprecations:
5763

0 commit comments

Comments
 (0)