-
Notifications
You must be signed in to change notification settings - Fork 1.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
httpie: add python variants #6496
Conversation
Notifying maintainers: |
Hello @blazewicz, thanks for this PR. I question the usage for variants for setting the python version to install the library to, AFAIK this is not used as a library, so we should (IMO) just track the latest version. |
Hi @g5pw I've noticed there is a bit of inconsistency among different python backed app ports. There are ports like I like the choice of Python version used by my apps because I can limit number of dependencies installed on my system. If I want or for some reason need to keep using python37 I don't want to be forced to install python38 and duplicate dozen of dependencies which could be shared. Sadly documentation lacks guidelines for this kind of situations. |
Hi @blazewicz, @g5pw, I'm the maintainer of the
Hence, it seems the guideline in this case would be:
My two cents. I'm actually planning to migrate the |
Travis Build #10598 Passed. Lint results
Port httpie success on xcode10.3. Log |
Hi @emcrisostomo thanks for pointing that, I didn't look there. This approach seems most intuitive. If someone needs @g5pw please confirm if you'd like me to remove the variants and I'll limit this PR to python version bump |
@g5pw, @blazewicz, what about just bumping the default python version to |
Honestly, I don't really have a strong opinion one way or another, and there's no real consensus on what is appropriate to do. Having a single version to install and test would probably be easier to maintain in the long run.
Yeah, me too, but probably it's just the fact that there is no standard on what to do for non-library python ports. @blazewicz, if you tested the port on all supported python versions, I'll go ahead and merge this, in the meantime I'll open up a discussion on what to do in the future. Thank you all! |
@blazewicz Would you please confirm you tested the port on all supported python versions, so that we can go ahead and merge? Thanks. |
@emcrisostomo I confirm, it does work with all variants |
Ok, thank you @blazewicz, I’m merging this! |
Description
httpie supports Python 3.6+, added variants for python36, python37 and python38
Type(s)
Tested on
macOS 10.15.3
Xcode 11.3.1
Verification
Have you
port lint
?sudo port -vst install
?