| Summary: | dev-python/m2crypto-0.35.2 should conditionally depend on dev-python/typing | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jason Chan <graysonchsi> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | dev-python/typing emerged with 3.7, m2crypto failed with 3.8 | ||
|
Description
Jason Chan
2020-02-21 10:38:11 UTC
I fail to see how your patch is supposed to help. It just inlines the conditional that is already present in virtual. (In reply to Michał Górny from comment #1) > I fail to see how your patch is supposed to help. It just inlines the > conditional that is already present in virtual. When running emerge -avuDU @world, virtual/python-typing is still pulled as a dependency but I do not have it on. This is the same case for dev-python/flake8-3.7.9. # emerge -pv virtual/python-typing These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] virtual/python-typing-0-r1::gentoo PYTHON_TARGETS="python3_7 python3_8 -pypy3 -python2_7 -python3_6" 0 KiB To clarify, the problem is that it isn't possible to emerge packages that use virtual/python-typing with Python 3.8 as the interpreter.
When I tried to emerge dev-python/typing with Python 3.8:
Traceback (most recent call last):
File "/usr/lib/portage/python3.8/ebuild-ipc.py", line 48, in <module>
from portage.util._eventloop.global_event_loop import global_event_loop
File "/usr/lib/python3.8/site-packages/portage/util/_eventloop/global_event_loop.py", line 7, in <module>
from .EventLoop import EventLoop
File "/usr/lib/python3.8/site-packages/portage/util/_eventloop/EventLoop.py", line 17, in <module>
import asyncio as _real_asyncio
File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>
from .base_events import *
File "/usr/lib/python3.8/asyncio/base_events.py", line 45, in <module>
from . import staggered
File "/usr/lib/python3.8/asyncio/staggered.py", line 6, in <module>
import typing
File "/usr/lib/python3.8/site-packages/typing.py", line 1357, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/lib/python3.8/site-packages/typing.py", line 1005, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
* The ebuild phase 'die_hooks' has exited unexpectedly. This type of
* behavior is known to be triggered by things such as failed variable
* assignments (bug #190128) or bad substitution errors (bug #200313).
* Normally, before exiting, bash should have displayed an error message
* above. If bash did not produce an error message above, it's possible
* that the ebuild has called `exit` when it should have called `die`
* instead. This behavior may also be triggered by a corrupt bash binary or
* a hardware problem such as memory or cpu malfunction. If the problem is
* not reproducible or it appears to occur randomly, then it is likely to
* be triggered by a hardware problem. If you suspect a hardware problem
* then you should try some basic hardware diagnostics such as memtest.
* Please do not report this as a bug unless it is consistently
* reproducible and you are sure that your bash binary and hardware are
* functioning properly.
* FAILED postinst: 1
Created attachment 614820 [details]
dev-python/typing emerged with 3.7, m2crypto failed with 3.8
But dev-python/typing covers only py2.7:
# gpy-showimpls dev-python/typing
dev-python/typing:0
3.6.2-r1: S 2.7
3.6.4-r1: ~ # 2.7
3.7.4.1: ~ 2.7
My guess would be that you're using a broken overlay. However, you haven't attached 'emerge --info' as you're supposed to, so I can't know for sure. (In reply to Michał Górny from comment #6) > My guess would be that you're using a broken overlay. However, you haven't > attached 'emerge --info' as you're supposed to, so I can't know for sure. That you are correct. It was in a broken overlay. Sorry for the incorrect report. |