- Package:
- python3-astroid
- Source:
- python3-astroid
- Submitter:
- Julian Gilbey
- Date:
- 2023-01-30 19:51:03 UTC
- Severity:
- normal
The Depends: line includes: python3-wrapt | python3 (<< 3.11), python3-wrapt | python3 (>> 3.11). Since python3 will satisfy exactly one of python3 (>> 3.11) and python3 (<< 3.11), this dependency can be simplified to just python3-wrapt. Best wishes, Julian
Hi Julian (2023.01.27_11:10:14_-0400)
dependencies = [
...
"wrapt>=1.14,<2;python_version>='3.11'",
"wrapt>=1.11,<2;python_version<'3.11'",
...
]
But yes, it could be simplified.
SR
Ah, that makes sense; the original dependencies meaningfully depend on different versions of wrapt depending on the python version. Best wishes, Julian