Skip to content

Commit f1e6cc1

Browse files
authored
BLD: Final release prep for 2.2.3 (pandas-dev#59840)
* BLD: Final release prep * change back perms * debug * try to fix license addition * silence stable version warning?
1 parent 2237217 commit f1e6cc1

File tree

6 files changed

+26
-11
lines changed

6 files changed

+26
-11
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

doc/source/whatsnew/v3.0.0.rst

-1
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`)

pyproject.toml

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

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