-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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: Add pyproject.toml #28374
BLD: Add pyproject.toml #28374
Conversation
* Adds pyproject.toml to support this. * Bumps minimum Cython version to the version supporting Python 3.8. Closes pandas-dev#28341
I take it there's no way to get the pyroject.toml stuff in setup.cfg? |
should/could we test for the desired behavior? or rare enough to check manually? |
I take it there's no way to get the pyroject.toml stuff in setup.cfg?
Nope.
should/could we test for the desired behavior? or rare enough to check
manually?
We could use pip to compile a wheel from source and install that wheel into
our test environment? Dunno how much effort that will be.
…On Tue, Sep 10, 2019 at 2:26 PM jbrockmendel ***@***.***> wrote:
should/could we test for the desired behavior? or rare enough to check
manually?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#28374?email_source=notifications&email_token=AAKAOIVAHBUNQ263Z2QEXGLQI7YIDA5CNFSM4IVLHR22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MHDUA#issuecomment-530084304>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKAOIVN5KUF3ZVEUJ2CTCLQI7YIDANCNFSM4IVLHR2Q>
.
|
I'm having trouble with editable installs. I need to pass the |
So from what I can tell, Has anyone else followed this setup tools / pip issue? Does that sound right? |
The editable install is a known issue (for me that is a reason to not yet use pyproject.toml on other projects, but for pandas the benefits are probably bigger than the problem with Can we do adding the pyproject.toml separately from the stop shipping cythonized files? Eg a separate PR as precursor for this (given all the previous problems I prefer to do this very explicitly and ) Or at least not hide it in a commit / PR that seems to be about something else. |
From a comment that I made earlier when running into this (https://issues.apache.org/jira/browse/ARROW-5210), it seems that I needed to do |
Sure. I think Pyproject.toml should be first, and needs to be back ported. I'll do that here, since it's dominated the discussion. |
Windows people, is it possible to do a glob that expands to a file in a bash-5.0$ ls wheelhouse
pandas-0.25.0+323.g55294ca9a.dirty-cp37-cp37m-macosx_10_14_x86_64.whl
bash-5.0$ pip install wheelhouse/*.whl That puts the single |
Just the SSL certificate doc failure. Edit: though this should likely wait until #28391 is in. |
@TomAugspurger it might be that the |
Huh, I'll try again, but I recall needing it and I'm using pip 19.2.3 (that change was in 19.1.1) |
lgtm. merge when ready. |
Oh, I understand now. The |
All green. As a reminder, I'll followup with a PR to clean up our sdist (including removing the cythonized files). |
Oh, and just to make sure everyone is aware, @pandas-dev/pandas-core the proper way to rebuild extensions is now python setup.py build_ext -i # -j 8 for parrallel
python -m pip install -e . --no-build-isolation if you leave off the |
@TomAugspurger just to be clear we have to run the |
I second Will's question. My usual workflow involves lots of |
If you weren't previously using a local editable install then there's no change to your workflow. |
Sounds good. We should probably update the contributing guide for that - I'll open an issue I think community will pick up |
Nvm...missed already here - thanks for that |
Adds pyproject.toml to support this.
Bumps minimum Cython version to the version supporting Python 3.8.
Closes #20775
xref #27435 (check if closes)
xref #25227, #20718, #16745