Skip to content
New issue

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

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

Already on GitHub? # to your account

Installation fails due to conflicting apitaxcore version #2

Open
NeolithEra opened this issue Dec 18, 2019 · 1 comment
Open

Installation fails due to conflicting apitaxcore version #2

NeolithEra opened this issue Dec 18, 2019 · 1 comment

Comments

@NeolithEra
Copy link

NeolithEra commented Dec 18, 2019

Hi, users are unable to run scriptaxstd due to dependency conflict with apitaxcore package. As shown in the following full dependency graph of scriptaxstd, scriptaxstd requires apitaxcore ==3.0.9,while commandtax requires apitaxcore ==3.0.6.

According to pip’s “first found wins” installation strategy, apitaxcore 3.0.9 is the actually installed version. However, apitaxcore 3.0.9 does not satisfy ==3.0.6.

Dependency tree-----------

scriptaxstd - 0.0.13
| +- apitaxcore(install version:3.0.9 version range:==3.0.9)
| | +- python-dateutil(install version:2.6.0 version range:==2.6.0)
| | | +- six(install version:1.13.0 version range:*)
| | +- requests(install version:2.22.0 version range:*)
| | | +- certifi(install version:2019.11.28 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.25.7 version range:<1.26,>=1.21.1)
| | +- typing(install version:3.5.2.2 version range:==3.5.2.2)
| | +- xmltodict(install version:0.12.0 version range:*)
| +- click(install version:7.0 version range:*)
| +- commandtax(install version:0.0.8 version range:==0.0.8)
| | +- apitaxcore(install version:3.0.6 version range:==3.0.6)
| | | +- python-dateutil(install version:2.6.0 version range:==2.6.0)
| | | | +- six(install version:1.13.0 version range:*)
| | | +- requests(install version:2.22.0 version range:*)
| | | | +- certifi(install version:2019.11.28 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.25.7 version range:<1.26,>=1.21.1)
| | | +- typing(install version:3.5.2.2 version range:==3.5.2.2)
| | | +- xmltodict(install version:0.12.0 version range:*)
| | +- click(install version:7.0 version range:*)
| +- scriptax(install version:4.0.1 version range:==4.0.1)
| | +- antlr4-python3-runtime(install version:4.7.2 version range:*)
| | | +- typing ; python-version(install version: version range:<3.5)
| | +- apitaxcore(install version:3.0.9 version range:==3.0.9)
| | | +- python-dateutil(install version:2.6.0 version range:==2.6.0)
| | | | +- six(install version:1.13.0 version range:*)
| | | +- requests(install version:2.22.0 version range:*)
| | | | +- certifi(install version:2019.11.28 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.25.7 version range:<1.26,>=1.21.1)
| | | +- typing(install version:3.5.2.2 version range:==3.5.2.2)
| | | +- xmltodict(install version:0.12.0 version range:*)
| | +- commandtax(install version:0.0.8 version range:==0.0.8)
| | | +- apitaxcore(install version:3.0.6 version range:==3.0.6)
| | | | +- python-dateutil(install version:2.6.0 version range:==2.6.0)
| | | | +- requests(install version:2.22.0 version range:*)
| | | | +- typing(install version:3.5.2.2 version range:==3.5.2.2)
| | | | +- xmltodict(install version:0.12.0 version range:*)
| | | +- click(install version:7.0 version range:*)
| | +- pydantic(install version:1.2 version range:*)
| | +- pytest(install version:5.3.2 version range:*) 

Thanks for your help.
Best,
Neolith

@NeolithEra
Copy link
Author

Suggested Solution

  1. Fix your direct dependency to be apitaxcore==3.0.6 and ask your upstream project scriptax to loose the version range of apitaxcore. I have checked this revision will not affect your downstream projects now.
  2. Remove your direct dependency apitaxcore and ask your upstream project scriptax to loose the version range of apitaxcore, and use apitaxcore transitively introduced by commandtax.
  3. Ask your upstream project commandtax to loose the version range of apitaxcore.

@ShawnClake Which solution do you prefer, 1, 2 or 3?
Please let me know your choice. I can submit a PR to solve this issue.

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

No branches or pull requests

1 participant