Skip to content

Commit

Permalink
BLD: Final release prep for 2.2.3 (#59840)
Browse files Browse the repository at this point in the history
* BLD: Final release prep

* change back perms

* debug

* try to fix license addition

* silence stable version warning?
  • Loading branch information
lithomas1 authored Sep 19, 2024
1 parent 2237217 commit f1e6cc1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 11 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
1 change: 0 additions & 1 deletion doc/source/whatsnew/v3.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,6 @@ Other
^^^^^
- Bug in :class:`DataFrame` when passing a ``dict`` with a NA scalar and ``columns`` that would always return ``np.nan`` (:issue:`57205`)
- Bug in :func:`eval` on :class:`ExtensionArray` on including division ``/`` failed with a ``TypeError``. (:issue:`58748`)
- Bug in :func:`eval` on :class:`complex` including division ``/`` discards imaginary part. (:issue:`21374`)
- Bug in :func:`eval` where the names of the :class:`Series` were not preserved when using ``engine="numexpr"``. (:issue:`10239`)
- Bug in :func:`unique` on :class:`Index` not always returning :class:`Index` (:issue:`57043`)
- Bug in :meth:`DataFrame.apply` where passing ``engine="numba"`` ignored ``args`` passed to the applied function (:issue:`58712`)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,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 f1e6cc1

Please sign in to comment.