You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as shown in the following full dependency graph of ghscard, ghscard requires typepy >=1.0.0,<2, ghscard requires DateTimeRange >=1.0.0,<2.0 (DateTimeRange 1.0.0 will be installed, i.e., the newest version satisfying the version constraint), and directed dependency DateTimeRange 1.0.0 transitively introduces typepy >=1.0.0,<2.
Obviously, there are multiple version constraints set for typepy in this project. However, according to pip's “first found wins” installation strategy, typepy 1.1.1 (i.e., the newest version satisfying constraint >=1.0.0,<2) is the actually installed version.
Although the first found package version typepy 1.1.1 just satisfies the later dependency constraint (typepy >=1.0.0,<2), such installed version is very close to the upper bound of the version constraint of typepy specified by DateTimeRange 1.0.0.
Once DateTimeRange upgrades,its newest version will be installed, as ghscard does not specify the upper bound of version constraint for DateTimeRange. Therefore, it will easily cause a dependency conflict (build failure), if the upgraded DateTimeRange version introduces a higher version of _ typepy_, violating its another version constraint >=1.0.0,<2.
According to the release history of DateTimeRange, it habitually upgrates _ typepy_ in its recent releases. For instance, DateTimeRange 0.6.0 upgrated typepy’s constraint from >=0.4.0,<1.0.0 to >=0.5.0,<1.0.0, DateTimeRange 0.6.1 upgrated typepy’s constraint from >=0.5.0,<1.0.0 to >=0.6.0,<1.0.0, and DateTimeRange 1.0.0 upgrated typepy’s constraint from >=0.6.0,<1.0.0 to >=1.0.0,<2.
As such, it is a warm warning of a potential dependency conflict issue for ghscard.
Dependency tree
ghscard - 0.5.0
| +- appconfigpy(install version:1.0.1 version range:>=1.0.1,<2)
| | +- pytest(install version:5.4.1 version range:*)
| | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | +- colorama(install version:0.4.3 version range:*)
| | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | +- packaging(install version:20.3 version range:*)
| | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- six(install version:1.14.0 version range:*)
| | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | +- wcwidth(install version:0.1.9 version range:*)
| | +- sphinx-rtd-theme(install version:0.4.3 version range:*)
| | | +- sphinx(install version:3.0.1 version range:*)
| | | | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | | | +- babel(install version:2.8.0 version range:>=1.3)
| | | | +- docutils(install version:0.16 version range:>=0.12)
| | | | +- imagesize(install version:1.2.0 version range:*)
| | | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- setuptools(install version:46.1.3 version range:*)
| | | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| +- click(install version:7.1.2 version range:>=6.2,<8)
| +- colorama(install version:0.4.3 version range:>=0.3.7,<1)
| +- datetimerange(install version:1.0.0 version range:>=1.0.0,<2)
| | +- pytest(install version:5.4.1 version range:*)
| | | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | | +- colorama(install version:0.4.3 version range:*)
| | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | | +- packaging(install version:20.3 version range:*)
| | | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | | +- six(install version:1.14.0 version range:*)
| | | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | | +- py(install version:1.8.1 version range:>=1.5.0)
| | | +- wcwidth(install version:0.1.9 version range:*)
| | +- python-dateutil(install version:2.8.1 version range:>=2.4.2,<3)
| | +- pytz(install version:2019.3 version range:*)
| | +- sphinx(install version:3.0.1 version range:*)
| | | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | | +- babel(install version:2.8.0 version range:>=1.3)
| | | | +- pytz(install version:2019.3 version range:>=2015.7)
| | | +- docutils(install version:0.16 version range:>=0.12)
| | | +- imagesize(install version:1.2.0 version range:*)
| | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- MarkupSafe(install version:2.0.0a1 version range:>=0.23)
| | | +- packaging(install version:20.3 version range:*)
| | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | | +- chardet(install version:3.0.4 version range:>=3.0.2,<4)
| | | | +- idna(install version:2.9 version range:>=2.5,<3)
| | | | +- urllib3(install version:1.25.9 version range:>=1.21.1,<1.26)
| | | +- setuptools(install version:46.1.3 version range:*)
| | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| | +- sphinx-rtd-theme(install version:0.4.3 version range:*)
| | | +- sphinx(install version:3.0.1 version range:*)
| | | | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | | | +- babel(install version:2.8.0 version range:>=1.3)
| | | | +- docutils(install version:0.16 version range:>=0.12)
| | | | +- imagesize(install version:1.2.0 version range:*)
| | | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- setuptools(install version:46.1.3 version range:*)
| | | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| | +- typepy(install version:1.1.1 version range:>=1.0.0,<2)
| +- logbook(install version:1.5.3 version range:>=0.12.3,<2)
| +- msgfy(install version:0.1.0 version range:>=0.0.6,<1)
| +- path(install version:13.2.0 version range:<14,>=13.0.0)
| +- path.py(install version:12.4.0 version range:*)
| +- pathvalidate(install version:2.3.0 version range:>=2.2.2,<3)
| +- pygithub(install version:1.51 version range:>=1.43.7,<2)
| +- pytest(install version:5.4.1 version range:*)
| | +- atomicwrites(install version:1.3.0 version range:>=1.0)
| | +- attrs(install version:19.3.0 version range:>=17.4.0)
| | +- colorama(install version:0.4.3 version range:*)
| | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | +- more-itertools(install version:8.2.0 version range:>=4.0.0)
| | +- packaging(install version:20.3 version range:*)
| | +- pathlib2(install version:2.3.5 version range:>=2.2.0)
| | | +- six(install version:1.14.0 version range:*)
| | +- pluggy(install version:0.13.1 version range:>=0.12,<1.0)
| | | +- importlib-metadata(install version:1.6.0 version range:>=0.12)
| | +- py(install version:1.8.1 version range:>=1.5.0)
| | +- wcwidth(install version:0.1.9 version range:*)
| +- readmemaker(install version:1.0.1 version range:>=1.0.0)
| | +- path(install version:13.2.0 version range:>=13.0.0,<14)
| | +- sphinx-rtd-theme(install version:0.4.3 version range:*)
| | | +- sphinx(install version:3.0.1 version range:*)
| | | | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | | | +- babel(install version:2.8.0 version range:>=1.3)
| | | | +- docutils(install version:0.16 version range:>=0.12)
| | | | +- imagesize(install version:1.2.0 version range:*)
| | | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- packaging(install version:20.3 version range:*)
| | | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- setuptools(install version:46.1.3 version range:*)
| | | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| +- retryrequests(install version:0.0.3 version range:<1,>=0.0.2)
| | +- requests(install version:2.23.0 version range:>=2.18.4,<3.0.0)
| | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:>=3.0.2,<4)
| | | +- idna(install version:2.9 version range:>=2.5,<3)
| | | +- urllib3(install version:1.25.9 version range:>=1.21.1,<1.26)
| +- sphinx(install version:3.0.1 version range:*)
| | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | +- babel(install version:2.8.0 version range:>=1.3)
| | | +- pytz(install version:2019.3 version range:>=2015.7)
| | +- docutils(install version:0.16 version range:>=0.12)
| | +- imagesize(install version:1.2.0 version range:*)
| | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | +- MarkupSafe(install version:2.0.0a1 version range:>=0.23)
| | +- packaging(install version:20.3 version range:*)
| | +- Pygments(install version:2.6.1 version range:>=2.0)
| | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | +- chardet(install version:3.0.4 version range:>=3.0.2,<4)
| | | +- idna(install version:2.9 version range:>=2.5,<3)
| | | +- urllib3(install version:1.25.9 version range:>=1.21.1,<1.26)
| | +- setuptools(install version:46.1.3 version range:*)
| | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| +- sphinx-rtd-theme(install version:0.4.3 version range:*)
| | +- sphinx(install version:3.0.1 version range:*)
| | | +- alabaster(install version:0.7.12 version range:>=0.7,<0.8)
| | | +- babel(install version:2.8.0 version range:>=1.3)
| | | | +- pytz(install version:2019.3 version range:>=2015.7)
| | | +- docutils(install version:0.16 version range:>=0.12)
| | | +- imagesize(install version:1.2.0 version range:*)
| | | +- Jinja2(install version:2.11.2 version range:>=2.3)
| | | | +- MarkupSafe(install version:2.0.0a1 version range:>=0.23)
| | | +- packaging(install version:20.3 version range:*)
| | | +- Pygments(install version:2.6.1 version range:>=2.0)
| | | +- requests(install version:2.23.0 version range:>=2.5.0)
| | | | +- certifi(install version:2020.4.5.1 version range:>=2017.4.17)
| | | | +- chardet(install version:3.0.4 version range:>=3.0.2,<4)
| | | | +- idna(install version:2.9 version range:>=2.5,<3)
| | | | +- urllib3(install version:1.25.9 version range:>=1.21.1,<1.26)
| | | +- setuptools(install version:46.1.3 version range:*)
| | | +- snowballstemmer(install version:2.0.0 version range:>=1.1)
| | | +- sphinxcontrib-applehelp(install version:1.0.2 version range:*)
| | | +- sphinxcontrib-devhelp(install version:1.0.2 version range:*)
| | | +- sphinxcontrib-htmlhelp(install version:1.0.3 version range:*)
| | | +- sphinxcontrib-jsmath(install version:1.0.1 version range:*)
| | | +- sphinxcontrib-qthelp(install version:1.0.3 version range:*)
| | | +- sphinxcontrib-serializinghtml(install version:1.1.4 version range:*)
| +- typepy(install version:1.1.1 version range:>=1.0.0,<2)
| +- typing-extensions(install version:3.7.4.2 version range:>=3.7.4)
Thanks for your help.
Best,
Neolith
The text was updated successfully, but these errors were encountered:
Remove your direct dependency typepy, and use the typepy transitively introduced by DateTimeRange.
Change your direct dependency DateTimeRange to be <=1.0.0. @thombashi Which solution do you prefer, 1 ,2or 3?
Please let me know your choice. May I pull a request to solve this issue?
Hi, as shown in the following full dependency graph of ghscard, ghscard requires typepy >=1.0.0,<2, ghscard requires DateTimeRange >=1.0.0,<2.0 (DateTimeRange 1.0.0 will be installed, i.e., the newest version satisfying the version constraint), and directed dependency DateTimeRange 1.0.0 transitively introduces typepy >=1.0.0,<2.
Obviously, there are multiple version constraints set for typepy in this project. However, according to pip's “first found wins” installation strategy, typepy 1.1.1 (i.e., the newest version satisfying constraint >=1.0.0,<2) is the actually installed version.
Although the first found package version typepy 1.1.1 just satisfies the later dependency constraint (typepy >=1.0.0,<2), such installed version is very close to the upper bound of the version constraint of typepy specified by DateTimeRange 1.0.0.
Once DateTimeRange upgrades,its newest version will be installed, as ghscard does not specify the upper bound of version constraint for DateTimeRange. Therefore, it will easily cause a dependency conflict (build failure), if the upgraded DateTimeRange version introduces a higher version of _ typepy_, violating its another version constraint >=1.0.0,<2.
According to the release history of DateTimeRange, it habitually upgrates _ typepy_ in its recent releases. For instance, DateTimeRange 0.6.0 upgrated typepy’s constraint from >=0.4.0,<1.0.0 to >=0.5.0,<1.0.0, DateTimeRange 0.6.1 upgrated typepy’s constraint from >=0.5.0,<1.0.0 to >=0.6.0,<1.0.0, and DateTimeRange 1.0.0 upgrated typepy’s constraint from >=0.6.0,<1.0.0 to >=1.0.0,<2.
As such, it is a warm warning of a potential dependency conflict issue for ghscard.
Dependency tree
Thanks for your help.
Best,
Neolith
The text was updated successfully, but these errors were encountered: