-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPS: Unifying testing and building dependencies across builds #29678
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
Changes from 3 commits
6a954f2
a6820c7
1bc38f3
492736b
a455fe3
80db7bc
a7aa71d
1692d3c
01dfdf3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,16 @@ channels: | |
- defaults | ||
- conda-forge | ||
dependencies: | ||
- python=3.6.* | ||
# tools | ||
- cython=0.29.13 | ||
- pytest | ||
- pytest-xdist>=1.21 | ||
- pytest-mock | ||
- hypothesis>=3.58.0 | ||
- pytest-azurepipelines | ||
# pandas dependencies | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you put a blank line before the comments |
||
- beautifulsoup4 | ||
- cython>=0.29.13 | ||
- gcsfs | ||
- html5lib | ||
- ipython | ||
|
@@ -17,20 +25,11 @@ dependencies: | |
- openpyxl | ||
- pytables | ||
- python-dateutil | ||
- python=3.6.* | ||
- pytz | ||
- s3fs | ||
- scipy | ||
- xarray | ||
- xlrd | ||
- xlsxwriter | ||
- xlwt | ||
# universal | ||
- pytest>=4.0.2 | ||
- pytest-xdist | ||
- pytest-mock | ||
- pytest-azurepipelines | ||
- moto | ||
- pip | ||
- pip: | ||
- hypothesis>=3.58.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,16 @@ channels: | |
- defaults | ||
- conda-forge | ||
dependencies: | ||
- python=3.7.* | ||
# tools | ||
- cython=0.29.13 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these should be >= |
||
- pytest | ||
- pytest-xdist>=1.21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actually looking at some of our builds, I think we need pytest-xdist>1.29, which likely implies pytest>5.0.1, if you can confirm this, we can move the pytest pin. I think that we are likely installing the latest pytest which is fine; these are just a min pin. So on the 36-min versions, can you pin exactly these versions to test. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in all our builds we have I agree with your previous comments. I think we do care about the versions. My point was that I don't think we care about supporting old versions, and we should probably just use the latest. Probably not for black. It's already quite annoying to use it, and if at every new version it reformats the code, we should probably pin it and update it once per year. |
||
- pytest-mock | ||
- hypothesis>=3.58.0 | ||
- pytest-azurepipelines | ||
# pandas dependencies | ||
- beautifulsoup4 | ||
- cython>=0.29.13 | ||
- html5lib | ||
- ipython | ||
- jinja2 | ||
|
@@ -17,19 +25,10 @@ dependencies: | |
- openpyxl | ||
- pytables | ||
- python-dateutil | ||
- python=3.7.* | ||
- pytz | ||
- s3fs | ||
- scipy | ||
- xarray | ||
- xlrd | ||
- xlsxwriter | ||
- xlwt | ||
# universal | ||
- pytest>=5.0.1 | ||
- pytest-xdist>=1.29.0 | ||
- pytest-mock | ||
- pytest-azurepipelines | ||
- pip | ||
- pip: | ||
- hypothesis>=3.58.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,19 @@ channels: | |
- defaults | ||
dependencies: | ||
- python=3.7.* | ||
- pytz | ||
- Cython>=0.29.13 | ||
# universal | ||
# pytest < 5 until defaults has pytest-xdist>=1.29.0 | ||
- pytest>=4.0.2,<5.0 | ||
- pytest-xdist | ||
# tools | ||
- cython=0.29.13 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same (and all others except for the 3.6-min build can have >= for cython) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the minimum versions build we have a I guess if we pin cython, when this causes a failure, the immediate action will be to pin it to something bigger where it works. So, is it really worth forcing in a build the |
||
- pytest | ||
- pytest-xdist>=1.21 | ||
- pytest-mock | ||
- hypothesis>=3.58.0 | ||
- pytest-azurepipelines | ||
jreback marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# pandas dependencies | ||
- pytz | ||
- pip | ||
- pip: | ||
- "git+git://github.com/dateutil/dateutil.git" | ||
- "-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" | ||
- "--pre" | ||
- "numpy" | ||
- "scipy" | ||
# https://github.com/pandas-dev/pandas/issues/27421 | ||
- pytest-azurepipelines<1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a min pin on pytest (for all .yaml)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've got all these versions in the builds:
Any preference on which you want to require?
pytest>-5.0.1
is ok?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah ok with the >=4.0.2 I think < 4 we don't support at all