Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential dependency conflicts between airqinsight and typing #1

Open
NeolithEra opened this issue May 27, 2020 · 2 comments
Open

Potential dependency conflicts between airqinsight and typing #1

NeolithEra opened this issue May 27, 2020 · 2 comments

Comments

@NeolithEra
Copy link

Hi, as shown in the following full dependency graph of airqinsight, airqinsight requires typing (the latest version), while the installed version of airQ(0.3.3) requires typing==3.7.4.1.

According to Pip's “first found wins” installation strategy, typing 3.7.4.1 is the actually installed version.

Although the first found package version typing 3.7.4.1 just satisfies the later dependency constraint (typing==3.7.4.1), it will lead to a build failure once developers release a newer version of typing.

Dependency tree--------

airqinsight  - 0.2.5
| +- airQ(install version:0.3.3 version range:*)
| | +- requests(install version:2.21.0 version range:==2.21.0)
| | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:<3.1.0,>=3.0.2)
| | | +- idna(install version:2.8 version range:>=2.5,<2.9)
| | | +- urllib3(install version:1.24.3 version range:>=1.21.1,<1.25)
| | +- typing(install version:3.7.4.1 version range:==3.7.4.1)
| +- matplotlib(install version:3.2.1 version range:*)
| | +- cycler(install version:0.10.0 version range:>=0.10)
| | | +- six(install version:1.14.0 version range:*)
| | +- kiwisolver(install version:1.2.0 version range:>=1.0.1)
| | +- numpy(install version:1.18.2 version range:>=1.11)
| | +- pyparsing(install version:3.0.0a1 version range:>=2.0.1)
| | +- python-dateutil(install version:2.8.1 version range:>=2.1)
| +- typing(install version:3.7.4.1 version range:*)

Thanks for your attention.
Best,
Neolith

@NeolithEra
Copy link
Author

Solution

  1. Loosen the version range of typing to be <=3.7.4.1.
  2. Remove your direct dependency typing, and use the typing transitively introduced by airQ.
  3. Ask your direct dependency airQ to loosen the version range of typing to be >=3.7.4.1.
    @itzmeanjan Which solution do you prefer, 1 ,2 or 3?
    Please let me know your choice. May I pull a request to solve this issue?

@NeolithEra
Copy link
Author

@itzmeanjan,Could you help me review this issue? Thx :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant