* [ISSUE] python3-pyinfra is broken
@ 2021-01-13 12:32 hazayan
2021-01-13 12:35 ` [ISSUE] [CLOSED] " hazayan
2021-01-13 12:35 ` hazayan
0 siblings, 2 replies; 3+ messages in thread
From: hazayan @ 2021-01-13 12:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2765 bytes --]
New issue by hazayan on void-packages repository
https://github.com/void-linux/void-packages/issues/27884
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
*Void 5.9.16_1 x86_64 GenuineIntel uptodate rFFFF*
* package:
*affected package(s) including the version*: python3-pyinfra-1.3.1_1
### Expected behavior
Running pyinfra would run without dependency errors
### Actual behavior
Running the command below result in the subsequent trace:
```
.... truncated for brevity ....
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'distro==1.5.0' distribution was not found and is required by pyinfra
```
Upon fixing this by manually installing `python3-distro`, running the cli results in the subsequent trace:
```
.... truncated for brevity ....
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 569, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gevent>=1.5' distribution was not found and is required by pyinfra
```
`python3-gevent` version currently is `1.4.0`. Working around that by locally updating the package template to the latest upstream version, then building and installing it, fixes the issue.
### Steps to reproduce the behavior
```
$ pyinfra @local exec -- echo "hello world"
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] python3-pyinfra is broken
2021-01-13 12:32 [ISSUE] python3-pyinfra is broken hazayan
@ 2021-01-13 12:35 ` hazayan
2021-01-13 12:35 ` hazayan
1 sibling, 0 replies; 3+ messages in thread
From: hazayan @ 2021-01-13 12:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2768 bytes --]
Closed issue by hazayan on void-packages repository
https://github.com/void-linux/void-packages/issues/27884
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
*Void 5.9.16_1 x86_64 GenuineIntel uptodate rFFFF*
* package:
*affected package(s) including the version*: python3-pyinfra-1.3.1_1
### Expected behavior
Running pyinfra would run without dependency errors
### Actual behavior
Running the command below result in the subsequent trace:
```
.... truncated for brevity ....
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'distro==1.5.0' distribution was not found and is required by pyinfra
```
Upon fixing this by manually installing `python3-distro`, running the cli results in the subsequent trace:
```
.... truncated for brevity ....
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 569, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gevent>=1.5' distribution was not found and is required by pyinfra
```
`python3-gevent` version currently is `1.4.0`. Working around that by locally updating the package template to the latest upstream version, then building and installing it, fixes the issue.
### Steps to reproduce the behavior
```
$ pyinfra @local exec -- echo "hello world"
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python3-pyinfra is broken
2021-01-13 12:32 [ISSUE] python3-pyinfra is broken hazayan
2021-01-13 12:35 ` [ISSUE] [CLOSED] " hazayan
@ 2021-01-13 12:35 ` hazayan
1 sibling, 0 replies; 3+ messages in thread
From: hazayan @ 2021-01-13 12:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by hazayan on void-packages repository
https://github.com/void-linux/void-packages/issues/27884#issuecomment-759420285
Comment:
Somehow submitting this was redundant.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-13 12:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 12:32 [ISSUE] python3-pyinfra is broken hazayan
2021-01-13 12:35 ` [ISSUE] [CLOSED] " hazayan
2021-01-13 12:35 ` hazayan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).