-
Notifications
You must be signed in to change notification settings - Fork 3k
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
make --python-version override python_version in requirement markers #6357
Conversation
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
1cf19b2
to
280ea80
Compare
Hi, any thoughts on this? I'm using this change and it's working great. |
Hi, just checking in. It's been a month without any response. |
I took a look at #6117 the other day and think I like the overall approach of this PR. I can try to find time to review within the next week or so. |
By the way, since you put thought into a similar issue, do you have any thoughts on the question I asked here? #6371 (comment) |
Sorry, I don't have much useful input, other than that I find the the way that versions are currently passed (e.g. |
I gave this issue / PR some thought, and here's how I think you should proceed on this. I've been doing some work that relates to this, so I want to be sure this will mesh well with other changes. So what I'm thinking is--
The main reason for not adding |
FYI, I posted PR #6539 which will help with this. |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
@chadrik Would you be willing to update your PR for this? There have been some changes in master, which should help you update your PR along the lines I suggested in this comment above: #6357 (comment) |
Sorry, I don’t think I’ll have any time for a few more weeks.
…On Sat, Jun 8, 2019 at 7:50 PM Chris Jerdonek ***@***.***> wrote:
@chadrik <https://github.com/chadrik> Would you be willing to update your
PR for this? There have been some changes in master, which should help you
update your PR along the lines I suggested in this comment above: #6357
(comment) <#6357 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6357?email_source=notifications&email_token=AAAPOE4BXSRVC6YQFINYIVLPZRVYFA5CNFSM4HASFAJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXICL2A#issuecomment-500180456>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAPOE2CTAOJV5S2QSB7FSDPZRVYFANCNFSM4HASFAJA>
.
|
Ping, @chadrik. :) |
Hello! Thanks so much for your contribution. It has been some time since this has seen activity, so I will close this PR. This is not saying these changes are not useful, just that it is not something we're considering actively worked on right now. @chadrik or anyone else interested in picking this up, please don't hesitate to open a new PR. The approach outlined by @cjerdonek should still be mostly compatible with what is in the master branch. |
This PR resolves half of issue #6117.
This PR ensures that if a user provides the
--python-version
cli option (e.g. topip download
), thatpython_version
markers are evaluated as expected. The other half of the issue -- doing the same for--platform
-- seems a bit more difficult (e.g. how can I reliably break down a value passed to--platform
intosys.platform
,platform.system()
, etc?). This PR sets up the resolution of the platform issue by exposing anenvironment
dictionary that can be used to override any part of the marker env.