Skip to content

Commit 6958738

Browse files
authored
Backport PR #59840: BLD: Final release prep for 2.2.3 (#59842)
1 parent 0bd98fe commit 6958738

File tree

5 files changed

+26
-10
lines changed

5 files changed

+26
-10
lines changed

doc/source/conf.py

+3-1
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

+1-1
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

+16-7
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

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ test-command = """
161161
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
162162
"""
163163
free-threaded-support = true
164-
before-build = "bash {package}/scripts/cibw_before_build.sh"
164+
before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh"
165165

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

scripts/cibw_before_build.sh

+5
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)