-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BLD: clean-up sdist creation #28432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLD: clean-up sdist creation #28432
Conversation
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm as well - merge if complete
@jorisvandenbossche done and passing. |
Whoops, this should have a release note. 1 sec. |
doc/source/whatsnew/v1.0.0.rst
Outdated
@@ -231,6 +231,8 @@ Build Changes | |||
^^^^^^^^^^^^^ | |||
- Fixed pyqt development dependency issue because of different pyqt package name in conda and PyPI (:issue:`26838`) | |||
- Added a `pyproject.toml <https://www.python.org/dev/peps/pep-0517/>`_ file (:issue:`20775`) | |||
- Pandas no longer includes cythonized C files in the source distribution uploaded to PyPI. As long as the version of ``pip`` | |||
supports reading a ``pyproject.toml``, no changes should be required in the build environment. The does not affect users installing wheels (:issue:`28341`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems a bit strange to me to put the pyproject / cythonized files note in the "bug fixes" section, I would move it above somewhere in enhancements or changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to a top-level section after enhancements. I removed the pyqt note, since it's a dev-only thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor typo fixup directly on GH in case you need to re-pull locally, but lgtm. I say merge on green
I messed up in https://github.com/pandas-dev/pandas/pull/28374/files#diff-2eeaed663bd0d25b7e608891384b7298R531. I meant to revert the lines that excluded cythonized files in the sdist to save it for a followup.
So I'm using this to clean up the sdist logic a bit, and exclude a few test data files that have snuck into our distribution.