Skip to content

Commit 4d42cd8

Browse files
authored
Revert "[2.3.x] DEPS: Drop Python 3.9 (#60792)" (#61755)
This reverts commit 2e617d3.
1 parent 5d32ae9 commit 4d42cd8

File tree

4 files changed

+79
-5
lines changed

4 files changed

+79
-5
lines changed

.github/workflows/package-checks.yml

Lines changed: 1 addition & 1 deletion
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.10', '3.11']
56+
python-version: ['3.9', '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

Lines changed: 13 additions & 3 deletions
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-310.yaml, actions-311.yaml, actions-312.yaml]
30+
env_file: [actions-39.yaml, 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-310-minimum_versions.yaml
41+
env_file: actions-39-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,6 +63,11 @@ 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
6671
- name: "Copy-on-Write 3.10"
6772
env_file: actions-310.yaml
6873
pattern: "not slow and not network and not single_cpu"
@@ -88,6 +93,11 @@ jobs:
8893
pattern: "not slow and not network and not single_cpu"
8994
pandas_copy_on_write: "warn"
9095
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
91101
- name: "Future infer strings"
92102
env_file: actions-312.yaml
93103
pandas_future_infer_string: "1"
@@ -218,7 +228,7 @@ jobs:
218228
matrix:
219229
# Note: Don't use macOS latest since macos 14 appears to be arm64 only
220230
os: [macos-13, macos-14, windows-latest]
221-
env_file: [actions-310.yaml, actions-311.yaml, actions-312.yaml]
231+
env_file: [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml]
222232
fail-fast: false
223233
runs-on: ${{ matrix.os }}
224234
name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }}

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

Lines changed: 1 addition & 1 deletion
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.10
7+
- python=3.9
88

99
# build dependencies
1010
- versioneer

ci/deps/actions-39.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: pandas-dev
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.9
6+
7+
# build dependencies
8+
- versioneer[toml]
9+
- cython>=0.29.33
10+
- meson[ninja]=1.2.1
11+
- meson-python=0.13.1
12+
13+
# test dependencies
14+
- pytest>=7.3.2
15+
- pytest-cov
16+
- pytest-xdist>=2.2.0
17+
- pytest-qt>=4.2.0
18+
- boto3
19+
20+
# required dependencies
21+
- python-dateutil
22+
- numpy
23+
# pytz 2024.2 timezones cause wrong results
24+
- pytz<2024.2
25+
26+
# optional dependencies
27+
- beautifulsoup4>=4.11.2
28+
- blosc>=1.21.3
29+
- bottleneck>=1.3.6
30+
- fastparquet>=2022.12.0
31+
- fsspec>=2022.11.0
32+
- html5lib>=1.1
33+
- hypothesis>=6.46.1
34+
- gcsfs>=2022.11.0
35+
- jinja2>=3.1.2
36+
- lxml>=4.9.2
37+
- matplotlib>=3.6.3
38+
- numba>=0.56.4
39+
- numexpr>=2.8.4
40+
- odfpy>=1.4.1
41+
- qtpy>=2.3.0
42+
- openpyxl>=3.1.0
43+
- psycopg2>=2.9.6
44+
- pyarrow>=10.0.1
45+
- pymysql>=1.0.2
46+
- pyqt>=5.15.9
47+
- pyreadstat>=1.2.0
48+
- pytables>=3.8.0
49+
- python-calamine>=0.1.7
50+
- pyxlsb>=1.0.10
51+
- s3fs>=2022.11.0
52+
- scipy>=1.10.0
53+
- sqlalchemy>=2.0.0
54+
- tabulate>=0.9.0
55+
- xarray>=2022.12.0
56+
- xlrd>=2.0.1
57+
- xlsxwriter>=3.0.5
58+
- zstandard>=0.19.0
59+
60+
- pip:
61+
- adbc-driver-postgresql>=0.8.0
62+
- adbc-driver-sqlite>=0.8.0
63+
- tzdata>=2022.7
64+
- pytest-localserver>=0.7.1

0 commit comments

Comments
 (0)