Skip to content
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

Not respecting PEP508 markers if dependency is otherwise referenced #2138

Closed
altendky opened this issue May 4, 2018 · 6 comments
Closed

Comments

@altendky
Copy link
Contributor

altendky commented May 4, 2018

'twisted; platform_system != "Windows"',
'twisted[windows_platform]; platform_system == "Windows"',

Yes, pywin32 shows up here but this seems separate. This is all being checked in Linux. Just the second line doesn't trigger an error or installation of anything. Just the first line installs twisted fine. Both together result in more packages installed than if just the first line is present and I also get an error.


setup
altendky@lt:/home/epc/g/20$ git clone https://github.com/pypa/pipenv
Cloning into 'pipenv'...
remote: Counting objects: 18055, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 18055 (delta 0), reused 1 (delta 0), pack-reused 18047
Receiving objects: 100% (18055/18055), 172.25 MiB | 9.85 MiB/s, done.
Resolving deltas: 100% (12252/12252), done.
altendky@lt:/home/epc/g/20$ cd pipenv
altendky@lt:/home/epc/g/20/pipenv$ git checkout 10cb623dc028422047ed3a9a5b2b82e41509256f
Note: checking out '10cb623dc028422047ed3a9a5b2b82e41509256f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 10cb623d... Merge pull request #2135 from pypa/bugfix/1997-extras-from-url
altendky@lt:/home/epc/g/20/pipenv$ virtualenv -p python3.6 .venv
Running virtualenv with interpreter /home/altendky/.pyenv/shims/python3.6
Using base prefix '/home/altendky/.pyenv/versions/3.6.5'
New python executable in /home/epc/g/20/pipenv/.venv/bin/python3.6
Also creating executable in /home/epc/g/20/pipenv/.venv/bin/python
Installing setuptools, pip, wheel...done.
altendky@lt:/home/epc/g/20/pipenv$ .venv/bin/pip install -e .
Obtaining file:///home/epc/g/20/pipenv
Requirement already satisfied: pip>=9.0.1 in ./.venv/lib/python3.6/site-packages (from pipenv==11.10.2.dev1) (10.0.1)
Collecting certifi (from pipenv==11.10.2.dev1)
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=36.2.1 in ./.venv/lib/python3.6/site-packages (from pipenv==11.10.2.dev1) (39.1.0)
Collecting virtualenv-clone>=0.2.5 (from pipenv==11.10.2.dev1)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/6d/c2/dccb5ccf599e0c5d1eea6acbd058af7a71384f9740179db67a9182a24798/virtualenv_clone-0.3.0-py2.py3-none-any.whl
Collecting virtualenv (from pipenv==11.10.2.dev1)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/ed/ea/e20b5cbebf45d3096e8138ab74eda139595d827677f38e9dd543e6015bdf/virtualenv-15.2.0-py2.py3-none-any.whl
Installing collected packages: certifi, virtualenv-clone, virtualenv, pipenv
  Running setup.py develop for pipenv
Successfully installed certifi-2018.4.16 pipenv virtualenv-15.2.0 virtualenv-clone-0.3.0
altendky@lt:/home/epc/g/20/pipenv$ .venv/bin/pipenv install --dev
Installing dependencies from Pipfile.lock (ae475c)…
Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
Ignoring configparser: markers 'python_version < "3.2"' don't match your environment
Ignoring enum34: markers 'python_version < "3.4"' don't match your environment
Ignoring funcsigs: markers 'python_version < "3.0"' don't match your environment
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 55/5500:00:21
To activate this project's virtualenv, run the following:
 $ pipenv shell
altendky@lt:/home/epc/g/20/pipenv$

https://gist.github.com/altendky/2d079b4afe4f8c933cbf33fff7604fbd


neither
altendky@lt:/home/epc/g/20/test$ rm -rf .venv; mkdir .venv; rm Pipfile*; rm -rf {,src}*.egg-info; tree -a -I .idea; cat setup.py; ../pipenv/.venv/bin/pipenv install -e .; echo -e "\n    Exit code: $?\n"; ../pipenv/.venv/bin/pipenv run pip freeze
.
├── setup.py
└── .venv

1 directory, 1 file
import setuptools


setuptools.setup(
    name='testing',
    install_requires=[
        'chardet',
        # 'twisted; platform_system != "Windows"',
        # 'twisted[windows_platform]; platform_system == "Windows"',
    ],
)

Creating a virtualenv for this projectUsing /home/epc/g/20/pipenv/.venv/bin/python3.6 (3.6.5) to create virtualenv…
⠋Running virtualenv with interpreter /home/epc/g/20/pipenv/.venv/bin/python3.6
Using real prefix '/home/altendky/.pyenv/versions/3.6.5'
New python executable in /home/epc/g/20/test/.venv/bin/python3.6
Also creating executable in /home/epc/g/20/test/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/epc/g/20/test/.venv
Creating a Pipfile for this projectInstalling -e .…
Obtaining file:///home/epc/g/20/test
Collecting chardet (from testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: chardet, testing
  Running setup.py develop for testing
Successfully installed chardet-3.0.4 testing

Adding -e . to Pipfile's [packages]…
Pipfile.lock not found, creatingLocking [dev-packages] dependenciesLocking [packages] dependenciesUpdated Pipfile.lock (8d2b3d)!
Installing dependencies from Pipfile.lock (8d2b3d)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/200:00:01
To activate this project's virtualenv, run the following:
 $ pipenv shell

    Exit code: 0

chardet==3.0.4
testing==0.0.0
altendky@lt:/home/epc/g/20/test$

https://gist.github.com/altendky/901913cc2cce50b87bc0f7e0a6d7a15a
--verbose: https://gist.github.com/altendky/b11223613cd77c9b25adceaef744dabf


only not windows
altendky@lt:/home/epc/g/20/test$ rm -rf .venv; mkdir .venv; rm Pipfile*; rm -rf {,src}*.egg-info; tree -a -I .idea; cat setup.py; ../pipenv/.venv/bin/pipenv install -e .; echo -e "\n    Exit code: $?\n"; ../pipenv/.venv/bin/pipenv run pip freeze
.
├── setup.py
└── .venv

1 directory, 1 file
import setuptools


setuptools.setup(
    name='testing',
    install_requires=[
        'chardet',
        'twisted; platform_system != "Windows"',
        # 'twisted[windows_platform]; platform_system == "Windows"',
    ],
)

Creating a virtualenv for this projectUsing /home/epc/g/20/pipenv/.venv/bin/python3.6 (3.6.5) to create virtualenv…
⠋Running virtualenv with interpreter /home/epc/g/20/pipenv/.venv/bin/python3.6
Using real prefix '/home/altendky/.pyenv/versions/3.6.5'
New python executable in /home/epc/g/20/test/.venv/bin/python3.6
Also creating executable in /home/epc/g/20/test/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/epc/g/20/test/.venv
Creating a Pipfile for this projectInstalling -e .…
Obtaining file:///home/epc/g/20/test
Collecting chardet (from testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting twisted (from testing==0.0.0)
Collecting zope.interface>=4.4.2 (from twisted->testing==0.0.0)
Collecting hyperlink>=17.1.1 (from twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/a7/b6/84d0c863ff81e8e7de87cff3bd8fd8f1054c227ce09af1b679a8b17a9274/hyperlink-18.0.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/17/6a/1baf488c2015ecafda48c03ca984cf0c48c254622668eb1732dbe2eae118/Automat-0.6.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
Collecting constantly>=15.1 (from twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./.venv/lib/python3.6/site-packages (from zope.interface>=4.4.2->twisted->testing==0.0.0) (39.1.0)
Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Collecting attrs (from Automat>=0.3.0->twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl
Collecting six (from Automat>=0.3.0->twisted->testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: chardet, zope.interface, idna, hyperlink, attrs, six, Automat, incremental, constantly, twisted, testing
  Running setup.py develop for testing
Successfully installed Automat-0.6.0 attrs-18.1.0 chardet-3.0.4 constantly-15.1.0 hyperlink-18.0.0 idna-2.6 incremental-17.5.0 six-1.11.0 testing twisted-18.4.0 zope.interface-4.5.0

Adding -e . to Pipfile's [packages]…
Pipfile.lock not found, creatingLocking [dev-packages] dependenciesLocking [packages] dependenciesUpdated Pipfile.lock (8d2b3d)!
Installing dependencies from Pipfile.lock (8d2b3d)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 11/1100:00:03
To activate this project's virtualenv, run the following:
 $ pipenv shell

    Exit code: 0

attrs==18.1.0
Automat==0.6.0
chardet==3.0.4
constantly==15.1.0
hyperlink==18.0.0
idna==2.6
incremental==17.5.0
six==1.11.0
testing==0.0.0
Twisted==18.4.0
zope.interface==4.5.0
altendky@lt:/home/epc/g/20/test$

https://gist.github.com/altendky/a4074674ffe28547ddaf20d0ee6d6ff7
--verbose: https://gist.github.com/altendky/9633cd3d2829353205474d87f12786c8


only windows
altendky@lt:/home/epc/g/20/test$ rm -rf .venv; mkdir .venv; rm Pipfile*; rm -rf {,src}*.egg-info; tree -a -I .idea; cat setup.py; ../pipenv/.venv/bin/pipenv install -e .; echo -e "\n    Exit code: $?\n"; ../pipenv/.venv/bin/pipenv run pip freeze
.
├── setup.py
└── .venv

1 directory, 1 file
import setuptools


setuptools.setup(
    name='testing',
    install_requires=[
        'chardet',
        # 'twisted; platform_system != "Windows"',
        'twisted[windows_platform]; platform_system == "Windows"',
    ],
)

Creating a virtualenv for this projectUsing /home/epc/g/20/pipenv/.venv/bin/python3.6 (3.6.5) to create virtualenv…
⠋Running virtualenv with interpreter /home/epc/g/20/pipenv/.venv/bin/python3.6
Using real prefix '/home/altendky/.pyenv/versions/3.6.5'
New python executable in /home/epc/g/20/test/.venv/bin/python3.6
Also creating executable in /home/epc/g/20/test/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/epc/g/20/test/.venv
Creating a Pipfile for this projectInstalling -e .…
Obtaining file:///home/epc/g/20/test
Collecting chardet (from testing==0.0.0)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: chardet, testing
  Running setup.py develop for testing
Successfully installed chardet-3.0.4 testing

Adding -e . to Pipfile's [packages]…
Pipfile.lock not found, creatingLocking [dev-packages] dependenciesLocking [packages] dependenciesUpdated Pipfile.lock (8d2b3d)!
Installing dependencies from Pipfile.lock (8d2b3d)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/200:00:01
To activate this project's virtualenv, run the following:
 $ pipenv shell

    Exit code: 0

chardet==3.0.4
testing==0.0.0
altendky@lt:/home/epc/g/20/test$

https://gist.github.com/altendky/3adc9ed474beb9e1677bd4d402a5fcc7
--verbose: https://gist.github.com/altendky/71e52586f84bb1263a1ac2558f84e4d2


both
altendky@lt:/home/epc/g/20/test$ rm -rf .venv; mkdir .venv; rm Pipfile*; rm -rf {,src}*.egg-info; tree -a -I .idea; cat setup.py; ../pipenv/.venv/bin/pipenv install -e .; echo -e "\n    Exit code: $?\n"; ../pipenv/.venv/bin/pipenv run pip freeze
.                                                                                                                                                                                                                                                                                
├── setup.py                                                                                                                                                                                                                                                                     
└── .venv                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                 
1 directory, 1 file                                                                                                                                                                                                                                                              
import setuptools                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                 
setuptools.setup(                                                                                                                                                                                                                                                                
    name='testing',                                                                                                                                                                                                                                                              
    install_requires=[                                                                                                                                                                                                                                                           
        'chardet',                                                                                                                                                                                                                                                               
        'twisted; platform_system != "Windows"',                                                                                                                                                                                                                                 
        'twisted[windows_platform]; platform_system == "Windows"',                                                                                                                                                                                                               
    ],                                                                                                                                                                                                                                                                           
)                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                 
Creating a virtualenv for this projectUsing /home/epc/g/20/pipenv/.venv/bin/python3.6 (3.6.5) to create virtualenv…                                                                                                                                                                                                    
⠋Running virtualenv with interpreter /home/epc/g/20/pipenv/.venv/bin/python3.6                                                                                                                                                                                                   
Using real prefix '/home/altendky/.pyenv/versions/3.6.5'                                                                                                                                                                                                                         
New python executable in /home/epc/g/20/test/.venv/bin/python3.6                                                                                                                                                                                                                 
Also creating executable in /home/epc/g/20/test/.venv/bin/python                                                                                                                                                                                                                 
Installing setuptools, pip, wheel...done.                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                 
Virtualenv location: /home/epc/g/20/test/.venv                                                                                                                                                                                                                                   
Creating a Pipfile for this projectInstalling -e .…                                                                                                                                                                                                                                                                 
Obtaining file:///home/epc/g/20/test                                                                                                                                                                                                                                             
Collecting chardet (from testing==0.0.0)                                                                                                                                                                                                                                         
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl                                                                                                                     
Collecting twisted (from testing==0.0.0)                                                                                                                                                                                                                                         
Collecting incremental>=16.10.1 (from twisted->testing==0.0.0)                                                                                                                                                                                                                   
  Using cached https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl                                                                                                                
Collecting zope.interface>=4.4.2 (from twisted->testing==0.0.0)                                                                                                                                                                                                                  
Collecting hyperlink>=17.1.1 (from twisted->testing==0.0.0)                                                                                                                                                                                                                      
  Using cached https://files.pythonhosted.org/packages/a7/b6/84d0c863ff81e8e7de87cff3bd8fd8f1054c227ce09af1b679a8b17a9274/hyperlink-18.0.0-py2.py3-none-any.whl                                                                                                                  
Collecting constantly>=15.1 (from twisted->testing==0.0.0)                                                                                                                                                                                                                       
  Using cached https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl                                                                                                                 
Collecting Automat>=0.3.0 (from twisted->testing==0.0.0)                                                                                                                                                                                                                         
  Using cached https://files.pythonhosted.org/packages/17/6a/1baf488c2015ecafda48c03ca984cf0c48c254622668eb1732dbe2eae118/Automat-0.6.0-py2.py3-none-any.whl                                                                                                                     
Requirement already satisfied: setuptools in ./.venv/lib/python3.6/site-packages (from zope.interface>=4.4.2->twisted->testing==0.0.0) (39.1.0)                                                                                                                                  
Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->testing==0.0.0)                                                                                                                                                                                                           
  Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl                                                                                                                          
Collecting six (from Automat>=0.3.0->twisted->testing==0.0.0)                                                                                                                                                                                                                    
  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl                                                                                                                        
Collecting attrs (from Automat>=0.3.0->twisted->testing==0.0.0)                                                                                                                                                                                                                  
  Using cached https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl                                                                                                                      
Installing collected packages: chardet, incremental, zope.interface, idna, hyperlink, constantly, six, attrs, Automat, twisted, testing                                                                                                                                          
  Running setup.py develop for testing                                                                                                                                                                                                                                           
Successfully installed Automat-0.6.0 attrs-18.1.0 chardet-3.0.4 constantly-15.1.0 hyperlink-18.0.0 idna-2.6 incremental-17.5.0 six-1.11.0 testing twisted-18.4.0 zope.interface-4.5.0                                                                                            
                                                                                                                                                                                                                                                                                 
Adding -e . to Pipfile's [packages]…                                                                                                                                                                                                                                             
Pipfile.lock not found, creatingLocking [dev-packages] dependenciesLocking [packages] dependenciesUpdated Pipfile.lock (8d2b3d)!                                                                                                                                                                                                                                                   
Installing dependencies from Pipfile.lock (8d2b3d)…                                                                                                                                                                                                                              
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 30/3000:00:14                                                                                                                                                                                                                         
An error occurred while installing pywin32==223! Will try again.                                                                                                                                                                                                                 
Ignoring twisted: markers 'platform_system == "Windows"' don't match your environment                                                                                                                                                                                            
Installing initiallyfailed dependenciesCollecting pywin32==223 ▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/100:00:00                                                                                                                                                                                                                             

  Could not find a version that satisfies the requirement pywin32==223 (from -r /tmp/pipenv-rhoziw6y-requirements/pipenv-grq766xp-requirement.txt (line 1)) (from versions: )
No matching distribution found for pywin32==223 (from -r /tmp/pipenv-rhoziw6y-requirements/pipenv-grq766xp-requirement.txt (line 1))

  ☤  ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/100:00:00

    Exit code: 1

appdirs==1.4.3
asn1crypto==0.24.0
attrs==18.1.0
Automat==0.6.0
cffi==1.11.5
chardet==3.0.4
constantly==15.1.0
cryptography==2.2.2
defusedxml==0.5.0
h2==3.0.1
hpack==3.0.0
hyperframe==5.1.0
hyperlink==18.0.0
idna==2.6
incremental==17.5.0
pbr==4.0.2
priority==1.3.0
pyasn1==0.4.2
pyasn1-modules==0.2.1
pycparser==2.18
pyOpenSSL==17.5.0
pyserial==3.4
service-identity==17.0.0
six==1.11.0
SOAPpy==0.12.22
testing==0.0.0
Twisted==18.4.0
wstools==0.4.8
zope.interface==4.5.0
altendky@lt:/home/epc/g/20/test$

https://gist.github.com/altendky/9baf27ac297c78c203ea5d01afc844e3
--verbose: https://gist.github.com/altendky/818526967c6d42b47ddafecf874458c0


altendky@lt:/home/epc/g/20/test$ ../pipenv/.venv/bin/python -m pipenv.help

$ python -m pipenv.help output

Pipenv version: '11.10.2.dev1'

Pipenv location: '/home/epc/g/20/pipenv/pipenv'

Python location: '/home/epc/g/20/test/../pipenv/.venv/bin/python'

Other Python installations in PATH:

  • 2.6: /home/altendky/.pyenv/shims/python2.6

  • 2.6: /home/altendky/.pyenv/shims/python2.6

  • 2.7: /home/altendky/.pyenv/shims/python2.7

  • 2.7: /home/altendky/.pyenv/shims/python2.7

  • 2.7: /usr/bin/python2.7

  • 3.4: /home/altendky/.pyenv/shims/python3.4m

  • 3.4: /home/altendky/.pyenv/shims/python3.4

  • 3.5: /home/altendky/.pyenv/shims/python3.5m

  • 3.5: /home/altendky/.pyenv/shims/python3.5

  • 3.5: /usr/bin/python3.5

  • 3.6: /home/altendky/.pyenv/shims/python3.6m

  • 3.6: /home/altendky/.pyenv/shims/python3.6

  • 3.7: /home/altendky/.pyenv/shims/python3.7

  • 3.6.5: /home/altendky/.pyenv/shims/python

  • 2.7.13: /usr/bin/python

  • 2.7.14: /home/altendky/.pyenv/shims/python2

  • 2.7.13: /usr/bin/python2

  • 3.6.5: /home/altendky/.pyenv/shims/python3

  • 3.5.3: /usr/bin/python3

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.9.0-6-amd64',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Debian 4.9.88-1 (2018-04-29)',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • PIPENV_VENV_IN_PROJECT
  • GS_LIB
  • KDE_FULL_SESSION
  • LS_COLORS
  • LANG
  • PROFILEHOME
  • DISPLAY
  • PYENV_ROOT
  • SHELL_SESSION_ID
  • EDITOR
  • COLORTERM
  • XDG_VTNR
  • PAM_KWALLET5_LOGIN
  • SSH_AUTH_SOCK
  • XDG_SESSION_ID
  • USER
  • DESKTOP_SESSION
  • PWD
  • HOME
  • SSH_AGENT_PID
  • QT_ACCESSIBILITY
  • XDG_SESSION_TYPE
  • XDG_DATA_DIRS
  • KONSOLE_DBUS_SESSION
  • XDG_SESSION_DESKTOP
  • KONSOLE_DBUS_WINDOW
  • GTK_MODULES
  • TERM
  • SHELL
  • KONSOLE_DBUS_SERVICE
  • XDG_SESSION_CLASS
  • XDG_SEAT_PATH
  • XCURSOR_THEME
  • XDG_CURRENT_DESKTOP
  • GPG_AGENT_INFO
  • QT_LINUX_ACCESSIBILITY_ALWAYS_ON
  • KONSOLE_PROFILE_NAME
  • XDG_SEAT
  • SHLVL
  • COLORFGBG
  • LANGUAGE
  • WINDOWID
  • LOGNAME
  • DBUS_SESSION_BUS_ADDRESS
  • XDG_RUNTIME_DIR
  • XAUTHORITY
  • XDG_SESSION_PATH
  • QT_AUTO_SCREEN_SCALE_FACTOR
  • PATH
  • KDE_SESSION_UID
  • KDE_SESSION_VERSION
  • KDED_STARTED_BY_KDEINIT
  • SESSION_MANAGER
  • _
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH

Pipenv–specific environment variables:

  • PIPENV_VENV_IN_PROJECT: 1

Debug–specific environment variables:

  • PATH: /home/altendky/.pyenv/bin:/home/altendky/venvs/bin:/home/altendky/.pyenv/bin:/home/altendky/.pyenv/shims:/epc/bin:/home/altendky/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/epc/bin
  • SHELL: /usr/bin/fish
  • EDITOR: vi
  • LANG: en_US.UTF-8
  • PWD: /home/epc/g/20/test

Contents of Pipfile ('/home/epc/g/20/test/Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"e1839a8" = {path = ".", editable = true}

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/home/epc/g/20/test/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "a166821031f60007a08b6fec9ba3caa9dc601786a8eb3ed72bbd9342668d2b3d"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "appdirs": {
            "hashes": [
                "sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92",
                "sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e"
            ],
            "version": "==1.4.3"
        },
        "asn1crypto": {
            "hashes": [
                "sha256:2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87",
                "sha256:9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49"
            ],
            "version": "==0.24.0"
        },
        "attrs": {
            "hashes": [
                "sha256:4b90b09eeeb9b88c35bc642cbac057e45a5fd85367b985bd2809c62b7b939265",
                "sha256:e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b"
            ],
            "version": "==18.1.0"
        },
        "automat": {
            "hashes": [
                "sha256:2140297df155f7990f6f4c73b2ab0583bd8150db9ed2a1b48122abe66e9908c1",
                "sha256:3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8"
            ],
            "version": "==0.6.0"
        },
        "cffi": {
            "hashes": [
                "sha256:151b7eefd035c56b2b2e1eb9963c90c6302dc15fbd8c1c0a83a163ff2c7d7743",
                "sha256:1553d1e99f035ace1c0544050622b7bc963374a00c467edafac50ad7bd276aef",
                "sha256:1b0493c091a1898f1136e3f4f991a784437fac3673780ff9de3bcf46c80b6b50",
                "sha256:2ba8a45822b7aee805ab49abfe7eec16b90587f7f26df20c71dd89e45a97076f",
                "sha256:3c85641778460581c42924384f5e68076d724ceac0f267d66c757f7535069c93",
                "sha256:3eb6434197633b7748cea30bf0ba9f66727cdce45117a712b29a443943733257",
                "sha256:4c91af6e967c2015729d3e69c2e51d92f9898c330d6a851bf8f121236f3defd3",
                "sha256:770f3782b31f50b68627e22f91cb182c48c47c02eb405fd689472aa7b7aa16dc",
                "sha256:79f9b6f7c46ae1f8ded75f68cf8ad50e5729ed4d590c74840471fc2823457d04",
                "sha256:7a33145e04d44ce95bcd71e522b478d282ad0eafaf34fe1ec5bbd73e662f22b6",
                "sha256:857959354ae3a6fa3da6651b966d13b0a8bed6bbc87a0de7b38a549db1d2a359",
                "sha256:87f37fe5130574ff76c17cab61e7d2538a16f843bb7bca8ebbc4b12de3078596",
                "sha256:95d5251e4b5ca00061f9d9f3d6fe537247e145a8524ae9fd30a2f8fbce993b5b",
                "sha256:9d1d3e63a4afdc29bd76ce6aa9d58c771cd1599fbba8cf5057e7860b203710dd",
                "sha256:a36c5c154f9d42ec176e6e620cb0dd275744aa1d804786a71ac37dc3661a5e95",
                "sha256:ae5e35a2c189d397b91034642cb0eab0e346f776ec2eb44a49a459e6615d6e2e",
                "sha256:b0f7d4a3df8f06cf49f9f121bead236e328074de6449866515cea4907bbc63d6",
                "sha256:b75110fb114fa366b29a027d0c9be3709579602ae111ff61674d28c93606acca",
                "sha256:ba5e697569f84b13640c9e193170e89c13c6244c24400fc57e88724ef610cd31",
                "sha256:be2a9b390f77fd7676d80bc3cdc4f8edb940d8c198ed2d8c0be1319018c778e1",
                "sha256:d5d8555d9bfc3f02385c1c37e9f998e2011f0db4f90e250e5bc0c0a85a813085",
                "sha256:e55e22ac0a30023426564b1059b035973ec82186ddddbac867078435801c7801",
                "sha256:e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4",
                "sha256:ecbb7b01409e9b782df5ded849c178a0aa7c906cf8c5a67368047daab282b184",
                "sha256:ed01918d545a38998bfa5902c7c00e0fee90e957ce036a4000a88e3fe2264917",
                "sha256:edabd457cd23a02965166026fd9bfd196f4324fe6032e866d0f3bd0301cd486f",
                "sha256:fdf1c1dc5bafc32bc5d08b054f94d659422b05aba244d6be4ddc1c72d9aa70fb"
            ],
            "markers": "platform_python_implementation != 'PyPy'",
            "version": "==1.11.5"
        },
        "chardet": {
            "hashes": [
                "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
                "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
            ],
            "version": "==3.0.4"
        },
        "constantly": {
            "hashes": [
                "sha256:586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35",
                "sha256:dd2fa9d6b1a51a83f0d7dd76293d734046aa176e384bf6e33b7e44880eb37c5d"
            ],
            "version": "==15.1.0"
        },
        "cryptography": {
            "hashes": [
                "sha256:3f3b65d5a16e6b52fba63dc860b62ca9832f51f1a2ae5083c78b6840275f12dd",
                "sha256:551a3abfe0c8c6833df4192a63371aa2ff43afd8f570ed345d31f251d78e7e04",
                "sha256:5cb990056b7cadcca26813311187ad751ea644712022a3976443691168781b6f",
                "sha256:60bda7f12ecb828358be53095fc9c6edda7de8f1ef571f96c00b2363643fa3cd",
                "sha256:6fef51ec447fe9f8351894024e94736862900d3a9aa2961528e602eb65c92bdb",
                "sha256:77d0ad229d47a6e0272d00f6bf8ac06ce14715a9fd02c9a97f5a2869aab3ccb2",
                "sha256:808fe471b1a6b777f026f7dc7bd9a4959da4bfab64972f2bbe91e22527c1c037",
                "sha256:9b62fb4d18529c84b961efd9187fecbb48e89aa1a0f9f4161c61b7fc42a101bd",
                "sha256:9e5bed45ec6b4f828866ac6a6bedf08388ffcfa68abe9e94b34bb40977aba531",
                "sha256:9fc295bf69130a342e7a19a39d7bbeb15c0bcaabc7382ec33ef3b2b7d18d2f63",
                "sha256:abd070b5849ed64e6d349199bef955ee0ad99aefbad792f0c587f8effa681a5e",
                "sha256:ba6a774749b6e510cffc2fb98535f717e0e5fd91c7c99a61d223293df79ab351",
                "sha256:c332118647f084c983c6a3e1dba0f3bcb051f69d12baccac68db8d62d177eb8a",
                "sha256:d6f46e862ee36df81e6342c2177ba84e70f722d9dc9c6c394f9f1f434c4a5563",
                "sha256:db6013746f73bf8edd9c3d1d3f94db635b9422f503db3fc5ef105233d4c011ab",
                "sha256:f57008eaff597c69cf692c3518f6d4800f0309253bb138b526a37fe9ef0c7471",
                "sha256:f6c821ac253c19f2ad4c8691633ae1d1a17f120d5b01ea1d256d7b602bc59887"
            ],
            "version": "==2.2.2"
        },
        "defusedxml": {
            "hashes": [
                "sha256:24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4",
                "sha256:702a91ade2968a82beb0db1e0766a6a273f33d4616a6ce8cde475d8e09853b20"
            ],
            "version": "==0.5.0"
        },
        "e1839a8": {
            "editable": true,
            "path": "."
        },
        "h2": {
            "hashes": [
                "sha256:4be613e35caad5680dc48f98f3bf4e7338c7c429e6375a5137be7fbe45219981",
                "sha256:b2962f883fa392a23cbfcc4ad03c335bcc661be0cf9627657b589f0df2206e64"
            ],
            "version": "==3.0.1"
        },
        "hpack": {
            "hashes": [
                "sha256:0edd79eda27a53ba5be2dfabf3b15780928a0dff6eb0c60a3d6767720e970c89",
                "sha256:8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2"
            ],
            "version": "==3.0.0"
        },
        "hyperframe": {
            "hashes": [
                "sha256:87567c9eb1540de1e7f48805adf00e87856409342fdebd0cd20cf5d381c38b69",
                "sha256:a25944539db36d6a2e47689e7915dcee562b3f8d10c6cdfa0d53c91ed692fb04"
            ],
            "version": "==5.1.0"
        },
        "hyperlink": {
            "hashes": [
                "sha256:98da4218a56b448c7ec7d2655cb339af1f7d751cf541469bb4fc28c4a4245b34",
                "sha256:f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306"
            ],
            "version": "==18.0.0"
        },
        "idna": {
            "hashes": [
                "sha256:2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f",
                "sha256:8c7309c718f94b3a625cb648ace320157ad16ff131ae0af362c9f21b80ef6ec4"
            ],
            "version": "==2.6"
        },
        "incremental": {
            "hashes": [
                "sha256:717e12246dddf231a349175f48d74d93e2897244939173b01974ab6661406b9f",
                "sha256:7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3"
            ],
            "version": "==17.5.0"
        },
        "pbr": {
            "hashes": [
                "sha256:4e8a0ed6a8705a26768f4c3da26026013b157821fe5f95881599556ea9d91c19",
                "sha256:dae4aaa78eafcad10ce2581fc34d694faa616727837fd8e55c1a00951ad6744f"
            ],
            "version": "==4.0.2"
        },
        "priority": {
            "hashes": [
                "sha256:6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe",
                "sha256:be4fcb94b5e37cdeb40af5533afe6dd603bd665fe9c8b3052610fc1001d5d1eb"
            ],
            "version": "==1.3.0"
        },
        "pyasn1": {
            "hashes": [
                "sha256:0d7f6e959fe53f3960a23d73f35e1fce61348b30915b6664309ca756de7c1f89",
                "sha256:5a0db897b311d265cde49615cf783f1c78613138605cdd0f907ecfa5b2aba3ee",
                "sha256:758cb50abddc03e4563fd9e7f03db56e3e87b58c0bd01247360326e5c0c7ffa5",
                "sha256:7d626683e3d792cccc608da02498aff37ab4f3dafd8905d6bf755d11f9b26b43",
                "sha256:a7efe807c4b83a859e2735c692b92ed7b567cfddc4163763412920041d876c2b",
                "sha256:b5a9ca48055b9a20f6d1b3d68e38692e5431c86a0f99ea602e61294e891fee5b",
                "sha256:c07d6e587b2f928366b1f67c09bda026a3e6fcc99e80a744dc67f8fca3895626",
                "sha256:d258b0a71994f7770599835249cece1caef3c70def868c4915e6e5ca49b67d15",
                "sha256:d5cd6ed995dba16fad0c521cfe31cd2d68400b53fcc2bce93326829be73ab6d1",
                "sha256:d84c2aea3cf43780e9e6a19f4e4dddee9f6976519020e64e47c57e5c7a8c3dd2",
                "sha256:e85895087905c65b5b594eb91f7522664c85545b147d5f4d4e7b1b07da8dcbdc",
                "sha256:f81c96761fca60d64b1c9b79ec2e40cf9495a745cf570613079ef324aeb9672b"
            ],
            "version": "==0.4.2"
        },
        "pyasn1-modules": {
            "hashes": [
                "sha256:041e9fbafac548d095f5b6c3b328b80792f006196e15a232b731a83c93d59493",
                "sha256:0cdca76a68dcb701fff58c397de0ef9922b472b1cb3ea9695ca19d03f1869787",
                "sha256:0cea139045c38f84abaa803bcb4b5e8775ea12a42af10019d942f227acc426c3",
                "sha256:0f2e50d20bc670be170966638fa0ae603f0bc9ed6ebe8e97a6d1d4cef30cc889",
                "sha256:47fb6757ab78fe966e7c58b2030b546854f78416d653163f0ce9290cf2278e8b",
                "sha256:598a6004ec26a8ab40a39ea955068cf2a3949ad9c0030da970f2e1ca4c9f1cc9",
                "sha256:72fd8b0c11191da088147c6e4678ec53e573923ecf60b57eeac9e97433e09fc2",
                "sha256:854700bbdd01394e2ada9c1bfbd0ed9f5d0c551350dbbd023e88b11d2771ae06",
                "sha256:af00ea8f2022b6287dc375b2c70f31ab5af83989fc6fe9eacd4976ce26cd7ccc",
                "sha256:b1f395cae2d669e0830cb023aa86f9f283b7a9aa32317d7f80d8e78aa2745812",
                "sha256:c6747146e95d2b14cc2a8399b2b0bde3f93778f8f9ec704690d2b589c376c137",
                "sha256:f53fe5bcebdf318f51399b250fe8325ef3a26d927f012cc0c8e0f9e9af7f9deb"
            ],
            "version": "==0.2.1"
        },
        "pycparser": {
            "hashes": [
                "sha256:99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226"
            ],
            "version": "==2.18"
        },
        "pyopenssl": {
            "hashes": [
                "sha256:07a2de1a54de07448732a81e38a55df7da109b2f47f599f8bb35b0cbec69d4bd",
                "sha256:2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773"
            ],
            "version": "==17.5.0"
        },
        "pyserial": {
            "hashes": [
                "sha256:6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627",
                "sha256:e0770fadba80c31013896c7e6ef703f72e7834965954a78e71a3049488d4d7d8"
            ],
            "version": "==3.4"
        },
        "pywin32": {
            "hashes": [
                "sha256:0df9b008caef10af0d674c483316c28dcf78391332d9d5d380fab667ebf2d7d1",
                "sha256:249391eb924b8376826e6f84d143d1dcc0e400b238b511d5fbd3811f6ed9ad50",
                "sha256:42f48567e36b787901ff3da20de5a134cd9880cc90832e2aad60951f058699f0",
                "sha256:9eff897796c9d76a213134257a01b6f8a122c55e0772847fba313a8091f3ec44",
                "sha256:c7ea0deabcc324e5b74084b5452003109c592d1aedbe9e9289ed55b26d9b0c7f",
                "sha256:da422d4067d98b49fbb19d851900a5fc38c61eab0ee803574c27c42309173ebe",
                "sha256:f0f0e7c82ee334dd6e888b9b5beb05fd8947355fa7a15644c810bb4ea0079ca6",
                "sha256:fb3c85907918fd01a72ee146d323d220771dee151c0cfa5630c2f35797ffb116"
            ],
            "version": "==223"
        },
        "service-identity": {
            "hashes": [
                "sha256:0e76f3c042cc0f5c7e6da002cf646f59dc4023962d1d1166343ce53bdad39e17",
                "sha256:4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab"
            ],
            "version": "==17.0.0"
        },
        "six": {
            "hashes": [
                "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
                "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
            ],
            "version": "==1.11.0"
        },
        "soappy": {
            "hashes": [
                "sha256:e70845906bb625144ae6a8df4534d66d84431ff8e21835d7b401ec6d8eb447a5"
            ],
            "version": "==0.12.22"
        },
        "twisted": {
            "hashes": [
                "sha256:3ad1e553c7b66a501abbcf7736620210cc58928730d3e1b905b345fc30043d4b",
                "sha256:a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9"
            ],
            "version": "==18.4.0"
        },
        "wstools": {
            "hashes": [
                "sha256:7992e687d7e7a4dd29b4df55376cd8b6577e0f71f72c00cfbc4bbb24b574ecc2",
                "sha256:e78cea7e6c3ff658d120b36b2151ad52c4daf4f1d0617ebf82b54ffc3bb694dd"
            ],
            "version": "==0.4.8"
        },
        "zope.interface": {
            "hashes": [
                "sha256:21506674d30c009271fe68a242d330c83b1b9d76d62d03d87e1e9528c61beea6",
                "sha256:3d184aff0756c44fff7de69eb4cd5b5311b6f452d4de28cb08343b3f21993763",
                "sha256:467d364b24cb398f76ad5e90398d71b9325eb4232be9e8a50d6a3b3c7a1c8789",
                "sha256:57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c",
                "sha256:9ada83f4384bbb12dedc152bcdd46a3ac9f5f7720d43ac3ce3e8e8b91d733c10",
                "sha256:a1daf9c5120f3cc6f2b5fef8e1d2a3fb7bbbb20ed4bfdc25bc8364bc62dcf54b",
                "sha256:e6b77ae84f2b8502d99a7855fa33334a1eb6159de45626905cb3e454c023f339",
                "sha256:e881ef610ff48aece2f4ee2af03d2db1a146dc7c705561bd6089b2356f61641f",
                "sha256:f41037260deaacb875db250021fe883bf536bf6414a4fd25b25059b02e31b120"
            ],
            "version": "==4.5.0"
        }
    },
    "develop": {}
}
@altendky
Copy link
Contributor Author

altendky commented May 4, 2018

I think I got it fixed down in pipenv/patched/notpip/index.py. I'll do a PR so it can be seen though I don't know offhand if anything special is needed for handling the patched code. I'll look into notpip as well, see if I can figure out what it is. :]

@techalchemy
Copy link
Member

Just generate a patch git diff -p pipenv/patched/notpip > tasks/vendoring/patches/patched/_post-update-pip-marker-grouping.patch

@altendky
Copy link
Contributor Author

altendky commented May 4, 2018

@techalchemy, so revert the change and instead just add that patch file?

@techalchemy
Copy link
Member

@altendky no include both the latter is just for regeneration when we update things

@altendky
Copy link
Contributor Author

altendky commented May 8, 2018

Some files discussed on IRC.

https://gist.github.com/altendky/669495cf0814337873f194022e7bb051

@techalchemy
Copy link
Member

so we're on the right track, we just need to now include the markers + the incompatible packages and merge the markers on packages that reoccur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants