-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix license() builtin by copying license into virtualenv #1318
Conversation
hmm pypy does this differently unsurprisingly |
@gaborbernat should be good to go now, I had to modify I wonder if in the future we should be lifting the |
Thanks! |
This doesn't look correct for PyPy -- is the version that was merged the same as what @asottile you were saying about "pypy's license() implementation is static and doesn't reproduce the LICENSE file (which is what I've made it do here)"? In the current version, a warning is always emitted on PyPy (and one even when you pass |
@Julian what version of pypy are you using? $ virtualenv venv -p pypy
Running virtualenv with interpreter /home/asottile/bin/pypy
New pypy executable in /tmp/venv/bin/pypy
Installing setuptools, pip, wheel...
done.
$ pypy --version
Python 2.7.13 (ab0b9caf307d, Apr 24 2018, 18:04:42)
[PyPy 6.0.0 with GCC 6.2.0 20160901] |
Ah, interesting... Not sure I have a 6.0 lying around. I'm on latest:
|
weiiiird!
Curious how you've installed pypy as well -- I also wonder if the macos bundle is missing files that are present in the linux ones 🤔 |
The plot does thicken then... Mine's from homebrew. Let's see what the one from |
Right so if you download the macOS tarball from |
Interesting! when I'm home (at pycon now with only a windows machine!) I'll poke at my mac mini and see if I can make this work better for pypy via homebrew -- thanks for the report 👍 |
@asottile oh, cool. So am I -- I'm around if you want to just face-to-face meet each other :) |
Resolves #1317