
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
[BUG] FileNotFoundError jaraco/text/Lorem ipsum.txt when importing pkg_resources Β· Issue #3072 Β· pypa/setuptools
Description:
setuptools version setuptools==60.7.0 Python version 3.9 OS Debian 11 Additional environment information No response Description FileNotFoundError when importing pkg_resources File "/home/aaa/env/lib/python3.9/site-packages/google/api_co...
Website Age:
17 years and 9 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 is built with 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,666,346 visitors per month in the current month.
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 5,347,483 paying customers.
The estimated monthly recurring revenue (MRR) is $22,459,429.
The estimated annual recurring revenues (ARR) are $269,513,148.
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, setuptools, line, bazel, issue, build, pkgresources, jaraco, bug, filenotfounderror, module, homeaaapyenvversionslibpythonpathlibpy, abravalheri, commented, ipsumtxt, import, sign, issues, importing, thinhha, return, mode, member, open, projects, jaracotextlorem, version, python, behavior, zip, status, edwardwatsonoxb, spaces, react, navigation, pull, requests, actions, security, description, information, homeaaaenvlibpythonsitepackagesgoogleapicoreclientinfopy, tmpaaapypisetuptoolspkgresourcesinitpy, pkgresourcesexternjaracotext, tmpaaapypisetuptoolspkgresourcesvendorjaracotextinitpy, loremipsum, str, filesnamejoinpathlorem, ipsumtxtreadtext, readtext,
Topics {βοΈ}
'/tmp/aaa/py_deps/pypi__setuptools/pkg_resources/_vendor/jaraco/text/lorem ipsum /tmp/aaa/pypi__setuptools/pkg_resources/_vendor/jaraco/text/__init__ /tmp/aaa/pypi__setuptools/pkg_resources/__init__ 9/site-packages/google/api_core/client_info /home/aaa/env/lib/python3 'lorem ipsum abravalheri edits contributor jaraco edits member /jaraco/jaraco removed bug waiting user feedback labels projects projects milestone text import build setuptools locally bazel build fails importlib-resources comment metadata assignees abravalheri added triage issues repro issues patching jaraco /home/aaa/ _vendor txt works fine setuptools version filenotfounderror text' text 7/lib/python3 jaraco thinhha changed setuptools/setup deterministic build bazel limitation bazel side python pkg_resources {'pkg_resources importlib-metadata issue closed issue started pyenv/versions/3 zip executable status double checked generated zip bundling dependencies play nicely poetry rule
Payment Methods {π}
- Braintree
Questions {β}
- 7 without the issue?
- Already have an account?
- Any chance this problem is being caused by the tool you are using to build a zip executable?
- Can you reproduce this issue, without using bazel?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:[BUG] FileNotFoundError jaraco/text/Lorem ipsum.txt when importing pkg_resources
articleBody:### setuptools version
setuptools==60.7.0
### Python version
3.9
### OS
Debian 11
### Additional environment information
_No response_
### Description
FileNotFoundError when importing `pkg_resources`
```
File "/home/aaa/env/lib/python3.9/site-packages/google/api_core/client_info.py", line 23, in <module>
import pkg_resources
File "/tmp/aaa/pypi__setuptools/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern.jaraco.text import (
File "/tmp/aaa/pypi__setuptools/pkg_resources/_vendor/jaraco/text/__init__.py", line 227, in <module>
lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1266, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/aaa/py_deps/pypi__setuptools/pkg_resources/_vendor/jaraco/text/Lorem ipsum.txt'
```
### Expected behavior
Pinning setuptools==60.6.0 in requirements.txt works fine. This issue started with setuptools==60.7.0.
### How to Reproduce
Using Bazel and [rules_python](https://github.com/bazelbuild/rules_python), build a zip executable using:
```
bazel build //<target> --output_groups=python_zip_file
python3 bazel-bin/<target>/<target>.zip
```
### Output
```console
...
File "/home/aaa/env/lib/python3.9/site-packages/google/api_core/client_info.py", line 23, in <module>
import pkg_resources
File "/tmp/aaa/pypi__setuptools/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern.jaraco.text import (
File "/tmp/aaa/pypi__setuptools/pkg_resources/_vendor/jaraco/text/__init__.py", line 227, in <module>
lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1266, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/aaa/py_deps/pypi__setuptools/pkg_resources/_vendor/jaraco/text/Lorem ipsum.txt'
```
author:
url:https://github.com/thinhha
type:Person
name:thinhha
datePublished:2022-02-02T14:07:44.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:13
url:https://github.com/3072/setuptools/issues/3072
context:https://schema.org
headline:[BUG] FileNotFoundError jaraco/text/Lorem ipsum.txt when importing pkg_resources
articleBody:### setuptools version
setuptools==60.7.0
### Python version
3.9
### OS
Debian 11
### Additional environment information
_No response_
### Description
FileNotFoundError when importing `pkg_resources`
```
File "/home/aaa/env/lib/python3.9/site-packages/google/api_core/client_info.py", line 23, in <module>
import pkg_resources
File "/tmp/aaa/pypi__setuptools/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern.jaraco.text import (
File "/tmp/aaa/pypi__setuptools/pkg_resources/_vendor/jaraco/text/__init__.py", line 227, in <module>
lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1266, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/aaa/py_deps/pypi__setuptools/pkg_resources/_vendor/jaraco/text/Lorem ipsum.txt'
```
### Expected behavior
Pinning setuptools==60.6.0 in requirements.txt works fine. This issue started with setuptools==60.7.0.
### How to Reproduce
Using Bazel and [rules_python](https://github.com/bazelbuild/rules_python), build a zip executable using:
```
bazel build //<target> --output_groups=python_zip_file
python3 bazel-bin/<target>/<target>.zip
```
### Output
```console
...
File "/home/aaa/env/lib/python3.9/site-packages/google/api_core/client_info.py", line 23, in <module>
import pkg_resources
File "/tmp/aaa/pypi__setuptools/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern.jaraco.text import (
File "/tmp/aaa/pypi__setuptools/pkg_resources/_vendor/jaraco/text/__init__.py", line 227, in <module>
lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1266, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/home/aaa/.pyenv/versions/3.9.7/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/aaa/py_deps/pypi__setuptools/pkg_resources/_vendor/jaraco/text/Lorem ipsum.txt'
```
author:
url:https://github.com/thinhha
type:Person
name:thinhha
datePublished:2022-02-02T14:07:44.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:13
url:https://github.com/3072/setuptools/issues/3072
Person:
url:https://github.com/thinhha
name:thinhha
url:https://github.com/thinhha
name:thinhha
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:13
interactionType:https://schema.org/CommentAction
userInteractionCount:13
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- GSAP
- 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