-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Add pyproject.toml #20775
Comments
Do we know if there's any way to fix the 0.21.x and 0.22.x releases for python 3.4, or does this fall entirely on users? e.g. if we were to upload a 0.21.2 and |
Yes, I don't think we can fix it, because even if we would do a 0.22.1 with the correction, I suppose as well that pip will find the existing 0.22.0 as the next in line that it can install. |
the way to fix this is to re-issue the existing wheels (with this one change) on 0.21 and 0.22. but that is 'banned' by PyPi. Its equivalent in conda of bumping the version number, but AFAIK no way to do this on PyPi. so maybe ask on the pip tracker on what is possible? maybe could just put an extra waring in the docs. |
Its equivalent in conda of bumping the version number
I assume you meant the build number?
The wheels aren't the problem, since those are version-specific. A python
3.4 user installing pandas will get the source dist for 0.22.0. But we
can't change the source.
At this point, I think we just document that python 3.4 users should pin
their version of pandas explicitly.
…On Sat, Apr 21, 2018 at 12:33 PM, Jeff Reback ***@***.***> wrote:
the way to fix this is to re-issue the existing wheels (with this one
change) on 0.21 and 0.22. but that is 'banned' by PyPi. Its equivalent in
conda of bumping the version number, but AFAIK no way to do this on PyPi.
so maybe ask on the pip tracker on what is possible?
maybe could just put an extra waring in the docs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20775 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHInOVQfItIvv4b6Oi-WtBQwThO7-pks5tq22EgaJpZM4TeY5p>
.
|
Well, I already commented on some of the issues, and I suggested an option is for them to disable the new (partial) PEP518 support by default, but I don't have the impression that they will do that. I don't think there is anything to do for 0.23 (I mainly opened this issue as a point-to issue with a summary of the situation, to point to in case other duplicate issues are opened). |
adding 2 cents: I'm building pandas from source on Windows as part our development process, it started failing on dev machines and the work around was to add the From a pandas user perspective "something that worked before break now, without me changing anything". So I don't think it's just an issue with the "special" platforms, it also applies to users of windows that are building the library from source. |
Edited the original post to indicate that the "special platforms" thing is
just the most common case of users having to build from source.
…On Sun, Apr 29, 2018 at 12:28 AM, Maxim Veksler ***@***.***> wrote:
adding 2 cents:
I'm building pandas from source on Windows as part our development
process, it started failing on dev machines and the work around was to add
the --no-build-isolation.
From a pandas user perspective "something that worked before break now,
without me changing anything".
So I don't think it's just an issue with the "special" platforms, it also
applies to users of windows that are building the library from source.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20775 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIhYbmxKHpBqZ1llPitpIVghLEmVxks5ttU93gaJpZM4TeY5p>
.
|
Yes, the reason I put "special platforms" is because there you automatically build from source with pip, while for "common" platforms the default is just installing from wheels.
You are completely right, but unfortunately, there is nothing we can do about it. We partly caused it by prematurely adding a |
How can i make it work with pipenv? I am trying like this but this doesn't work Edited: Nevermind, |
@jorisvandenbossche do want to include anything in the 0.23 docs about this? Since this is (hopefully) temporary, I'm OK with people searching out this issue rather than codifying anything in the docs. |
Or maybe a very brief note with something like "if having installation problems with pip when installing from source (eg for platforms for which no wheels are provided), see " ? |
Although, it will not be the case anymore for 0.23.0 once released, so it doesn't really make sense to put it in the whatsnew note there. So yes, let's just keep this issue then? |
That's my thoughts. (moving this off the 0.23.0 milestone). |
FWIW, I'm getting this error with python-3.6.5 -- and pip-10.0.1. The work-around of adding |
`docker-compose build` occurs an known installation error of `pandas`. refs. pandas-dev/pandas#20775
`docker-compose build` occurs an known installation error of `pandas`. refs. pandas-dev/pandas#20775
`docker-compose build` occurs a known installation error of `pandas`. refs. pandas-dev/pandas#20775
`docker-compose build` occurs a known installation error of `pandas`. refs. pandas-dev/pandas#20775
solution
it is working for me thanks |
Now that pip 19 is out, we can attempt to re-add pyproject.toml
The release of pip version 10 and the presence of a
pyproject.toml
in our latest released versions gives problems for installing pandas in the following cases:Problem with installing pandas for Python 3.4
Install an older version of pandas
Workaround for package maintainers to specify the pandas version in
install_requires
: pip install panadas fails on numpy version #20697 (comment)Problem with installing pandas on "special" platforms (32bit, PyPy, ARM, ...) (building from source):
pip
will try to build pandas from source, but this started to fail with pip version 10. This is because their limited support for PEP518, and they require that all build dependencies of pandas are installed from wheels (Build dependencies with no binary wheels don't work pypa/pip#5229), which are often also not available on those python versions / platforms.pip install pandas --no-build-isolation
The text was updated successfully, but these errors were encountered: