Skip to content

Commit

Permalink
Backport PR #59840: BLD: Final release prep for 2.2.3 (#59842)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored Sep 19, 2024
1 parent 0bd98fe commit 6958738
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
4 changes: 3 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@
"json_url": "https://pandas.pydata.org/versions.json",
"version_match": switcher_version,
},
"show_version_warning_banner": True,
# This shows a warning for patch releases since the
# patch version doesn't compare as equal (e.g. 2.2.1 != 2.2.0 but it should be)
"show_version_warning_banner": False,
"icon_links": [
{
"name": "Mastodon",
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v2.2.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Other
Contributors
~~~~~~~~~~~~

.. contributors:: v2.2.1..v2.2.2|HEAD
.. contributors:: v2.2.1..v2.2.2
23 changes: 16 additions & 7 deletions doc/source/whatsnew/v2.2.3.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _whatsnew_223:

What's new in 2.2.3 (September XX, 2024)
What's new in 2.2.3 (September 20, 2024)
----------------------------------------

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

.. ---------------------------------------------------------------------------
.. _whatsnew_223.regressions:
Fixed regressions
~~~~~~~~~~~~~~~~~
-
.. _whatsnew_220.py13_compat:

Pandas 2.2.3 is now compatible with Python 3.13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pandas 2.2.3 is the first version of pandas that is generally compatible with the upcoming
Python 3.13, and both wheels for free-threaded and normal Python 3.13 will be uploaded for
this release.

As usual please report any bugs discovered to our `issue tracker <https://github.com/pandas-dev/pandas/issues/new/choose>`_

.. ---------------------------------------------------------------------------
.. _whatsnew_223.bug_fixes:

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

.. ---------------------------------------------------------------------------
.. _whatsnew_223.other:

Other
~~~~~
-
- Missing licenses for 3rd party dependencies were added back into the wheels. (:issue:`58632`)

.. ---------------------------------------------------------------------------
.. _whatsnew_223.contributors:

Contributors
~~~~~~~~~~~~

.. contributors:: v2.2.2..v2.2.3|HEAD
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ test-command = """
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
"""
free-threaded-support = true
before-build = "bash {package}/scripts/cibw_before_build.sh"
before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh"

[tool.cibuildwheel.windows]
before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build.sh"
Expand Down
5 changes: 5 additions & 0 deletions scripts/cibw_before_build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Add 3rd party licenses, like numpy does
for file in $PACKAGE_DIR/LICENSES/*; do
cat $file >> $PACKAGE_DIR/LICENSE
done

# TODO: Delete when there's a PyPI Cython release that supports free-threaded Python 3.13.
FREE_THREADED_BUILD="$(python -c"import sysconfig; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')))")"
if [[ $FREE_THREADED_BUILD == "True" ]]; then
Expand Down

0 comments on commit 6958738

Please sign in to comment.