This repository was archived by the owner on Nov 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 796
Resolve dependency conflict by specifying python-dateutil==2.8.0 #1176
Closed
+2
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request was exported from Phabricator. Differential Revision: D18753252 |
ec0f340
to
c1a5dc0
Compare
hudeven
added a commit
to hudeven/pytext
that referenced
this pull request
Nov 30, 2019
…ebookresearch#1176) Summary: Pull Request resolved: facebookresearch#1176 1. pandas is introduced recently. It requires python-dateutil >=2.6.1 2. pytorch-pretrained-bert depends on python-dateutil [required: >=2.1,<2.8.1] 3. latest python-dateutil is 2.8.1 Before this diff, pandas is installed first with latest python-dateutil == 2.8.1. Then it causes error during installing pytorch-pretrained-bert **This issue is happening in CircleCI but not captured by unit test! https://circleci.com/gh/facebookresearch/pytext/16257** $ ./install_deps ERROR: botocore 1.13.28 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you''ll have python-dateutil 2.8.1 which is incompatible. $ pipdeptree Warning!!! Possibly conflicting dependencies found: * botocore==1.13.28 - python-dateutil [required: >=2.1,<2.8.1, installed: 2.8.1] ------------------------------------------------------------------------ pipdeptree==0.13.2 - pip [required: >=6.0.0, installed: 19.3.1] pytext-nlp==0.2.3 ... - pandas [required: Any, installed: 0.25.3] - numpy [required: >=1.13.3, installed: 1.17.4] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.13.0] - pytz [required: >=2017.2, installed: 2019.3] - pytorch-pretrained-bert [required: Any, installed: 0.6.2] - boto3 [required: Any, installed: 1.10.28] - botocore [required: >=1.13.28,<1.14.0, installed: 1.13.28] - docutils [required: >=0.10,<0.16, installed: 0.15.2] - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4] - python-dateutil [required: >=2.1,<2.8.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.13.0] - urllib3 [required: >=1.20,<1.26, installed: 1.25.7] ... Differential Revision: D18753252 fbshipit-source-id: ab8d0aa536277a6971d64dc1513caa181579b41e
c1a5dc0
to
a01b0f3
Compare
This pull request was exported from Phabricator. Differential Revision: D18753252 |
…ebookresearch#1176) Summary: Pull Request resolved: facebookresearch#1176 1. pandas is introduced recently. It requires python-dateutil >=2.6.1 2. pytorch-pretrained-bert depends on python-dateutil [required: >=2.1,<2.8.1] 3. latest python-dateutil is 2.8.1 Before this diff, pandas is installed first with latest python-dateutil == 2.8.1. Then it causes error during installing pytorch-pretrained-bert **This issue is happening in CircleCI but not captured by unit test! https://circleci.com/gh/facebookresearch/pytext/16257** $ ./install_deps ERROR: botocore 1.13.28 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you''ll have python-dateutil 2.8.1 which is incompatible. $ pipdeptree Warning!!! Possibly conflicting dependencies found: * botocore==1.13.28 - python-dateutil [required: >=2.1,<2.8.1, installed: 2.8.1] ------------------------------------------------------------------------ pipdeptree==0.13.2 - pip [required: >=6.0.0, installed: 19.3.1] pytext-nlp==0.2.3 ... - pandas [required: Any, installed: 0.25.3] - numpy [required: >=1.13.3, installed: 1.17.4] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.13.0] - pytz [required: >=2017.2, installed: 2019.3] - pytorch-pretrained-bert [required: Any, installed: 0.6.2] - boto3 [required: Any, installed: 1.10.28] - botocore [required: >=1.13.28,<1.14.0, installed: 1.13.28] - docutils [required: >=0.10,<0.16, installed: 0.15.2] - jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4] - python-dateutil [required: >=2.1,<2.8.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.13.0] - urllib3 [required: >=1.20,<1.26, installed: 1.25.7] ... Differential Revision: D18753252 fbshipit-source-id: 0ef6967943217591e69e244fe2515ed8ee8932cd
This pull request was exported from Phabricator. Differential Revision: D18753252 |
a01b0f3
to
87ec7f6
Compare
This pull request has been merged in 78d56c2. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Before this diff, pandas is installed first with latest python-dateutil == 2.8.1. Then it causes error during installing pytorch-pretrained-bert
This issue is happening in CircleCI but not captured by unit test! https://circleci.com/gh/facebookresearch/pytext/16257
$ ./install_deps
ERROR: botocore 1.13.28 has requirement python-dateutil<2.8.1,>=2.1; python_version >= "2.7", but you''ll have python-dateutil 2.8.1 which is incompatible.
$ pipdeptree
Warning!!! Possibly conflicting dependencies found:
pipdeptree==0.13.2
- pip [required: >=6.0.0, installed: 19.3.1]
pytext-nlp==0.2.3
...
- pandas [required: Any, installed: 0.25.3]
- numpy [required: >=1.13.3, installed: 1.17.4]
- python-dateutil [required: >=2.6.1, installed: 2.8.1]
- six [required: >=1.5, installed: 1.13.0]
- pytz [required: >=2017.2, installed: 2019.3]
- pytorch-pretrained-bert [required: Any, installed: 0.6.2]
- boto3 [required: Any, installed: 1.10.28]
- botocore [required: >=1.13.28,<1.14.0, installed: 1.13.28]
- docutils [required: >=0.10,<0.16, installed: 0.15.2]
- jmespath [required: >=0.7.1,<1.0.0, installed: 0.9.4]
- python-dateutil [required: >=2.1,<2.8.1, installed: 2.8.1]
- six [required: >=1.5, installed: 1.13.0]
- urllib3 [required: >=1.20,<1.26, installed: 1.25.7]
...
Differential Revision: D18753252