[Python] Fix attrs dependency (#508)

The `attr` project is unrelated to `attrs` that also provides the `attr`
namespace (see also <https://hynek.me/articles/import-attrs/>).

It used to _usually_ work, because attrs is a dependency of aiohttp and
somehow took precedence over `attr`'s `attr`.

Yes, sorry, it's a mess.
This commit is contained in:
Hynek Schlawack
2023-09-21 18:35:34 +02:00
committed by GitHub
parent 74004161ff
commit bc8670d7af

View File

@@ -8,7 +8,7 @@ dependencies = [
"tqdm",
"aiohttp",
"pydantic",
"attr",
"attrs",
"semver>=3.0",
"cachetools"
]
@@ -62,4 +62,4 @@ addopts = "--strict-markers"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"asyncio"
]
]