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

Env variable in pipfile (package section) not working #4532

Closed
julste opened this issue Nov 12, 2020 · 1 comment
Closed

Env variable in pipfile (package section) not working #4532

julste opened this issue Nov 12, 2020 · 1 comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@julste
Copy link

julste commented Nov 12, 2020

I'm trying to install a package via Pipfile from a private repo. I have already asked for help on stackoverflow.

#3882 # Issue description

Using the following syntax, VScode is asking for a password (in console it is locking forever), although my token is exported to my env variables:


[packages]
pack1 = {editable = true, git = "https://${ACCESS_TOKEN}@github.com/.../pack1.git"}

Using the ACCESS_TOKEN directly it works like expected:

[packages]
pack1 = {editable = true, git = "https://myToken@github.com/.../pack1.git"}

Using pipenv install command works also fine with my environment variable (ACCESS_TOKEN):

pipenv install -e git+https://${ACCESS_TOKEN}@github.com/.../pack1.git


$ pipenv --support

Pipenv version: '2020.11.4'

Pipenv location: '/home/.../.local/lib/python3.7/site-packages/pipenv'

Python location: '/usr/bin/python3'

Python installations found:

  • 3.7.5: /usr/bin/python3
  • 3.7.5: /usr/bin/python3.7
  • 3.7.5: /usr/bin/python3.7m

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.7.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.3.0-64-generic',
 'platform_system': 'Linux',
 'platform_version': '#58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020',
 'python_full_version': '3.7.5',
 'python_version': '3.7',
 'sys_platform': 'linux'}
@frostming
Copy link
Contributor

Duplicate with #4038 #3516

@frostming frostming added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

2 participants