
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Pipenv tries to include a local file at install · Issue #5885 · pypa/pipenv
Description:
Issue description With pipenv >= 2023.8.19, pipenv install fails when a file or a folder named after a target package exists in the Pipfile directory with the following messages: ValueError: Could not determine package name from file:///...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {📚}
- Video & Online Content
- Technology & Computing
- Personal Finance
Content Management System {📝}
What CMS is github.com built with?
Github.com operates using WORDPRESS.
Traffic Estimate {📈}
What is the average monthly size of github.com audience?
🚀🌠 Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {💸}
Subscription Packages {💳}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {💰}
Subscription Packages {💳}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {🎨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {🔍}
file, line, pipenv, package, usrlocallibpythondistpackagespipenvresolverpy, matteius, install, issue, main, commented, jbedw, folder, usrlocallibpythondistpackagespipenvutilsresolverpy, korsunovprosperity, sign, molecule, locking, dependencies, resolvepackages, results, resolver, resolve, resolvedeps, actuallyresolvedeps, regression, projects, closed, directory, determine, create, usrlocallibpythondistpackagespipenvutilsdependenciespy, member, works, navigation, pull, requests, actions, security, include, local, description, named, pipfile, valueerror, filefilebuildmolecule, notadirectoryerror, errno, buildmolecule, run, project,
Topics {✒️}
9/dist-packages/pipenv/utils/resolver 9/dist-packages/pipenv/utils/dependencies 9/dist-packages/pipenv/resolver /usr/local/lib/python3 assigned labels type pipenv install fails personal information pipenv locking [packages] dependencies run ansible molecule dockerized ci runner comment metadata assignees target package exists matteius closed ///build/molecule steps pipenv install projects milestone matteius reopened resolver = resolve completed sign resolving dependencies actual result ///build/molecule '/build/molecule' verbose pipfile projects local file determine package package listed internal_resolver = actually_resolve_deps molecule folder pipfile directory �� locking failed building requirements recent call replicate create previous behavior version broke milestone relationships issue version works folder named github 23 works fine pipfile package {package} �� locking create valueerror 26 works
Payment Methods {📊}
- Braintree
Questions {❓}
- 826 and had the same issue?
- Already have an account?
Schema {🗺️}
DiscussionForumPosting:
context:https://schema.org
headline:Pipenv tries to include a local file at install
articleBody:### Issue description
With pipenv >= 2023.8.19, `pipenv install` fails when a file or a folder named after a target package exists in the Pipfile directory with the following messages: `ValueError: Could not determine package name from file:///file:///build/molecule` (when it is a folder) / `NotADirectoryError: [Errno 20] Not a directory: '/build/molecule'` (when it is a file)
As the use case, we run Ansible molecule in a dockerized CI runner to test our roles. The project needs to install Python molecule package, and a molecule folder is required in the role. We need the package and can't rename the folder.
### Expected result
pipenv installs molecule.
### Actual result
With a file:
```
root@b88ff340ebe6:/build# pipenv install -d --verbose
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 678, in <module>
main()
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 664, in main
_main(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 651, in _main
resolve_packages(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 618, in resolve_packages
results, resolver = resolve(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 598, in resolve
return resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 841, in resolve_deps
results, hashes, internal_resolver = actually_resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 603, in actually_resolve_deps
resolver = Resolver.create(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 206, in create
package_name = determine_package_name(install_req)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 741, in determine_package_name
req_name = find_package_name_from_directory(package.link.file_path)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 620, in find_package_name_from_directory
os.listdir(directory),
NotADirectoryError: [Errno 20] Not a directory: '/build/molecule'
```
With a folder:
```
root@b88ff340ebe6:/build# pipenv install -d
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!
⠸ Locking...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 678, in <module>
main()
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 664, in main
_main(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 651, in _main
resolve_packages(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 618, in resolve_packages
results, resolver = resolve(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 598, in resolve
return resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 841, in resolve_deps
results, hashes, internal_resolver = actually_resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 603, in actually_resolve_deps
resolver = Resolver.create(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 206, in create
package_name = determine_package_name(install_req)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 745, in determine_package_name
raise ValueError(f"Could not determine package name from {package}")
ValueError: Could not determine package name from file:///file:///build/molecule
```
### Steps to replicate
- Create a file or folder named after a package
- Run `pipenv install <package>` or `pipenv install` with the package listed in the Pipfile
-------------------------------------------------------------------------------
<details><summary>$ pipenv --support</summary>
Pipenv version: `'2023.8.19'`
Pipenv location: `'/usr/local/lib/python3.9/dist-packages/pipenv'`
Python location: `'/usr/bin/python3'`
OS Name: `'posix'`
User pip version: `'23.2.1'`
user Python installations found:
PEP 508 Information:
```
{'implementation_name': 'cpython',
'implementation_version': '3.9.2',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '5.15.0-78-generic',
'platform_system': 'Linux',
'platform_version': '#85~20.04.1-Ubuntu SMP Mon Jul 17 09:42:39 UTC 2023',
'python_full_version': '3.9.2',
'python_version': '3.9',
'sys_platform': 'linux'}
```
System environment variables:
- `HOSTNAME`
- `PWD`
- `HOME`
- `TERM`
- `SHLVL`
- `PATH`
- `OLDPWD`
- `_`
- `LC_CTYPE`
- `PIP_DISABLE_PIP_VERSION_CHECK`
- `PYTHONDONTWRITEBYTECODE`
- `PYTHONFINDER_IGNORE_UNSUPPORTED`
Pipenv–specific environment variables:
Debug–specific environment variables:
- `PATH`: `/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`
- `PWD`: `/build`
---------------------------
Contents of `Pipfile` ('/build/Pipfile'):
```toml
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
python-ldap = "*"
[packages]
ansible = "~=4.10"
ansible-lint = "*"
yamllint = "*"
molecule = "*"
molecule-docker = "*"
flake8 = "*"
pytest-testinfra = "*"
[requires]
python_version = "3"
```
</details>
author:
url:https://github.com/jbe-dw
type:Person
name:jbe-dw
datePublished:2023-08-28T13:57:09.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:8
url:https://github.com/5885/pipenv/issues/5885
context:https://schema.org
headline:Pipenv tries to include a local file at install
articleBody:### Issue description
With pipenv >= 2023.8.19, `pipenv install` fails when a file or a folder named after a target package exists in the Pipfile directory with the following messages: `ValueError: Could not determine package name from file:///file:///build/molecule` (when it is a folder) / `NotADirectoryError: [Errno 20] Not a directory: '/build/molecule'` (when it is a file)
As the use case, we run Ansible molecule in a dockerized CI runner to test our roles. The project needs to install Python molecule package, and a molecule folder is required in the role. We need the package and can't rename the folder.
### Expected result
pipenv installs molecule.
### Actual result
With a file:
```
root@b88ff340ebe6:/build# pipenv install -d --verbose
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 678, in <module>
main()
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 664, in main
_main(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 651, in _main
resolve_packages(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 618, in resolve_packages
results, resolver = resolve(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 598, in resolve
return resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 841, in resolve_deps
results, hashes, internal_resolver = actually_resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 603, in actually_resolve_deps
resolver = Resolver.create(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 206, in create
package_name = determine_package_name(install_req)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 741, in determine_package_name
req_name = find_package_name_from_directory(package.link.file_path)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 620, in find_package_name_from_directory
os.listdir(directory),
NotADirectoryError: [Errno 20] Not a directory: '/build/molecule'
```
With a folder:
```
root@b88ff340ebe6:/build# pipenv install -d
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!
⠸ Locking...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 678, in <module>
main()
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 664, in main
_main(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 651, in _main
resolve_packages(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 618, in resolve_packages
results, resolver = resolve(
File "/usr/local/lib/python3.9/dist-packages/pipenv/resolver.py", line 598, in resolve
return resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 841, in resolve_deps
results, hashes, internal_resolver = actually_resolve_deps(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 603, in actually_resolve_deps
resolver = Resolver.create(
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/resolver.py", line 206, in create
package_name = determine_package_name(install_req)
File "/usr/local/lib/python3.9/dist-packages/pipenv/utils/dependencies.py", line 745, in determine_package_name
raise ValueError(f"Could not determine package name from {package}")
ValueError: Could not determine package name from file:///file:///build/molecule
```
### Steps to replicate
- Create a file or folder named after a package
- Run `pipenv install <package>` or `pipenv install` with the package listed in the Pipfile
-------------------------------------------------------------------------------
<details><summary>$ pipenv --support</summary>
Pipenv version: `'2023.8.19'`
Pipenv location: `'/usr/local/lib/python3.9/dist-packages/pipenv'`
Python location: `'/usr/bin/python3'`
OS Name: `'posix'`
User pip version: `'23.2.1'`
user Python installations found:
PEP 508 Information:
```
{'implementation_name': 'cpython',
'implementation_version': '3.9.2',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '5.15.0-78-generic',
'platform_system': 'Linux',
'platform_version': '#85~20.04.1-Ubuntu SMP Mon Jul 17 09:42:39 UTC 2023',
'python_full_version': '3.9.2',
'python_version': '3.9',
'sys_platform': 'linux'}
```
System environment variables:
- `HOSTNAME`
- `PWD`
- `HOME`
- `TERM`
- `SHLVL`
- `PATH`
- `OLDPWD`
- `_`
- `LC_CTYPE`
- `PIP_DISABLE_PIP_VERSION_CHECK`
- `PYTHONDONTWRITEBYTECODE`
- `PYTHONFINDER_IGNORE_UNSUPPORTED`
Pipenv–specific environment variables:
Debug–specific environment variables:
- `PATH`: `/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`
- `PWD`: `/build`
---------------------------
Contents of `Pipfile` ('/build/Pipfile'):
```toml
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
python-ldap = "*"
[packages]
ansible = "~=4.10"
ansible-lint = "*"
yamllint = "*"
molecule = "*"
molecule-docker = "*"
flake8 = "*"
pytest-testinfra = "*"
[requires]
python_version = "3"
```
</details>
author:
url:https://github.com/jbe-dw
type:Person
name:jbe-dw
datePublished:2023-08-28T13:57:09.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:8
url:https://github.com/5885/pipenv/issues/5885
Person:
url:https://github.com/jbe-dw
name:jbe-dw
url:https://github.com/jbe-dw
name:jbe-dw
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:8
interactionType:https://schema.org/CommentAction
userInteractionCount:8
External Links {🔗}(2)
Analytics and Tracking {📊}
- Site Verification - Google
Libraries {📚}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {✉️}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net