Skip to content

Commit 61dc309

Browse files
authored
Merge branch 'main' into patch-1
2 parents b9fa714 + 71b395f commit 61dc309

File tree

9 files changed

+41
-15
lines changed

9 files changed

+41
-15
lines changed

.circleci/config.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,13 @@ jobs:
9292
no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
9393
command: |
9494
pip3 install cibuildwheel==2.20.0
95-
cibuildwheel --output-dir wheelhouse
95+
if [[ $CIBW_BUILD == cp313t* ]]; then
96+
# TODO: temporarily run 3.13 free threaded builds without build isolation
97+
# since we need pre-release cython
98+
CIBW_BUILD_FRONTEND="pip; args: --no-build-isolation" cibuildwheel --output-dir wheelhouse
99+
else
100+
cibuildwheel --output-dir wheelhouse
101+
fi
96102
97103
environment:
98104
CIBW_BUILD: << parameters.cibw-build >>
@@ -141,6 +147,10 @@ workflows:
141147
cibw-build: ["cp310-manylinux_aarch64",
142148
"cp311-manylinux_aarch64",
143149
"cp312-manylinux_aarch64",
150+
"cp313-manylinux_aarch64",
151+
"cp313t-manylinux_aarch64",
144152
"cp310-musllinux_aarch64",
145153
"cp311-musllinux_aarch64",
146-
"cp312-musllinux_aarch64",]
154+
"cp312-musllinux_aarch64",
155+
"cp313-musllinux_aarch64",
156+
"cp313t-musllinux_aarch64"]

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
144144
-i "pandas.core.groupby.DataFrameGroupBy.boxplot PR07,RT03,SA01" \
145145
-i "pandas.core.groupby.DataFrameGroupBy.get_group RT03,SA01" \
146146
-i "pandas.core.groupby.DataFrameGroupBy.groups SA01" \
147-
-i "pandas.core.groupby.DataFrameGroupBy.hist RT03" \
148147
-i "pandas.core.groupby.DataFrameGroupBy.indices SA01" \
149148
-i "pandas.core.groupby.DataFrameGroupBy.nth PR02" \
150149
-i "pandas.core.groupby.DataFrameGroupBy.nunique SA01" \

doc/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@
254254
"json_url": "https://pandas.pydata.org/versions.json",
255255
"version_match": switcher_version,
256256
},
257-
"show_version_warning_banner": True,
257+
# This shows a warning for patch releases since the
258+
# patch version doesn't compare as equal (e.g. 2.2.1 != 2.2.0 but it should be)
259+
"show_version_warning_banner": False,
258260
"icon_links": [
259261
{
260262
"name": "Mastodon",

doc/source/whatsnew/v2.2.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ Other
5656
Contributors
5757
~~~~~~~~~~~~
5858

59-
.. contributors:: v2.2.1..v2.2.2|HEAD
59+
.. contributors:: v2.2.1..v2.2.2

doc/source/whatsnew/v2.2.3.rst

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _whatsnew_223:
22

3-
What's new in 2.2.3 (September XX, 2024)
3+
What's new in 2.2.3 (September 20, 2024)
44
----------------------------------------
55

66
These are the changes in pandas 2.2.3. See :ref:`release` for a full changelog
@@ -9,28 +9,37 @@ including other versions of pandas.
99
{{ header }}
1010

1111
.. ---------------------------------------------------------------------------
12-
.. _whatsnew_223.regressions:
1312
14-
Fixed regressions
15-
~~~~~~~~~~~~~~~~~
16-
-
13+
.. _whatsnew_220.py13_compat:
14+
15+
Pandas 2.2.3 is now compatible with Python 3.13
16+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17+
18+
Pandas 2.2.3 is the first version of pandas that is generally compatible with the upcoming
19+
Python 3.13, and both wheels for free-threaded and normal Python 3.13 will be uploaded for
20+
this release.
21+
22+
As usual please report any bugs discovered to our `issue tracker <https://github.com/pandas-dev/pandas/issues/new/choose>`_
1723

1824
.. ---------------------------------------------------------------------------
1925
.. _whatsnew_223.bug_fixes:
2026

2127
Bug fixes
2228
~~~~~~~~~
23-
-
29+
- Bug in :func:`eval` on :class:`complex` including division ``/`` discards imaginary part. (:issue:`21374`)
30+
- Minor fixes for numpy 2.1 compatibility. (:issue:`59444`)
2431

2532
.. ---------------------------------------------------------------------------
2633
.. _whatsnew_223.other:
2734

2835
Other
2936
~~~~~
30-
-
37+
- Missing licenses for 3rd party dependencies were added back into the wheels. (:issue:`58632`)
3138

3239
.. ---------------------------------------------------------------------------
3340
.. _whatsnew_223.contributors:
3441

3542
Contributors
3643
~~~~~~~~~~~~
44+
45+
.. contributors:: v2.2.2..v2.2.3|HEAD

doc/source/whatsnew/v3.0.0.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,6 @@ Other
693693
^^^^^
694694
- Bug in :class:`DataFrame` when passing a ``dict`` with a NA scalar and ``columns`` that would always return ``np.nan`` (:issue:`57205`)
695695
- Bug in :func:`eval` on :class:`ExtensionArray` on including division ``/`` failed with a ``TypeError``. (:issue:`58748`)
696-
- Bug in :func:`eval` on :class:`complex` including division ``/`` discards imaginary part. (:issue:`21374`)
697696
- Bug in :func:`eval` where the names of the :class:`Series` were not preserved when using ``engine="numexpr"``. (:issue:`10239`)
698697
- Bug in :func:`unique` on :class:`Index` not always returning :class:`Index` (:issue:`57043`)
699698
- Bug in :meth:`DataFrame.apply` where passing ``engine="numba"`` ignored ``args`` passed to the applied function (:issue:`58712`)

pandas/core/groupby/generic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,9 @@ def hist(
26942694
26952695
Returns
26962696
-------
2697-
matplotlib.Axes or numpy.ndarray of them
2697+
matplotlib.Axes or numpy.ndarray
2698+
A ``matplotlib.Axes`` object or an array of ``Axes`` objects, depending on
2699+
the layout and grouping.
26982700
26992701
See Also
27002702
--------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test-command = """
156156
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
157157
"""
158158
free-threaded-support = true
159-
before-build = "bash {package}/scripts/cibw_before_build.sh"
159+
before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh"
160160

161161
[tool.cibuildwheel.windows]
162162
before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build.sh"

scripts/cibw_before_build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Add 3rd party licenses, like numpy does
2+
for file in $PACKAGE_DIR/LICENSES/*; do
3+
cat $file >> $PACKAGE_DIR/LICENSE
4+
done
5+
16
# TODO: Delete when there's a PyPI Cython release that supports free-threaded Python 3.13.
27
FREE_THREADED_BUILD="$(python -c"import sysconfig; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')))")"
38
if [[ $FREE_THREADED_BUILD == "True" ]]; then

0 commit comments

Comments
 (0)