Repository navigation
upstream fixes - #10549
Merged
Merged
upstream fixes#10549
Conversation
graingert
marked this pull request as draft
October 9, 2023 14:14
Member
Author
|
hmm these tests are failing every time in CI but not locally for me eg: all pass for me locally |
Member
Author
|
dask/tests/test_sizeof.py::test_sparse_matrix is failing due to scipy/scipy#18929 |
Member
Author
|
diffing my environment gets: --- ci.txt 2023-10-11 13:28:30.957665048 +0100
+++ mine.txt 2023-10-11 13:26:42.778166612 +0100
@@ -1,4 +1,4 @@
-# packages in environment at /usr/share/miniconda3/envs/test-environment:
+# packages in environment at /home/graingert/mambaforge/envs/test-environment-upstream:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
@@ -67,7 +67,7 @@
cryptography 41.0.4 py310h75e40e8_0 conda-forge
curl 8.4.0 hca28451_0 conda-forge
cytoolz 0.12.2 py310h2372a71_1 conda-forge
-dask 0+untagged.1.ge3a25a3.dirty pypi_0 pypi
+dask 2023.9.3+13.g010b3099.dirty pypi_0 pypi
dav1d 1.2.1 hd590300_0 conda-forge
debugpy 1.8.0 py310hc6cd4ac_1 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
@@ -220,7 +220,7 @@
nbformat 5.9.2 pyhd8ed1ab_0 conda-forge
ncurses 6.4 hcb278e6_0 conda-forge
ndindex 1.7 pypi_0 pypi
-nest-asyncio 1.5.7 pyhd8ed1ab_0 conda-forge
+nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge
networkx 3.1 pyhd8ed1ab_0 conda-forge
nodeenv 1.8.0 pyhd8ed1ab_0 conda-forge
nomkl 1.0 h5ca1d4c_0 conda-forge
@@ -271,6 +271,7 @@
pyspark 3.5.0 pyhd8ed1ab_0 conda-forge
pytest 7.4.2 pyhd8ed1ab_0 conda-forge
pytest-cov 4.1.0 pyhd8ed1ab_0 conda-forge
pytest-reportlog 0.1.2 pyhd8ed1ab_0 conda-forge
pytest-rerunfailures 12.0 pyhd8ed1ab_0 conda-forge
pytest-timeout 2.2.0 pyhd8ed1ab_0 conda-forge |
Collaborator
|
Using the newest Dask release and pandas main I get the following: |
4 of 8 tasks
graingert
force-pushed
the
upstream-fix
branch
from
October 14, 2023 10:36
7341677 to
29ed5c2
Compare
graingert
marked this pull request as ready for review
October 17, 2023 14:12
Member
Author
|
I've added to the issue here #10558 |
phofl
reviewed
Oct 18, 2023
phofl
left a comment
Collaborator
There was a problem hiding this comment.
2 small comments, otherwise lgtm
graingert
force-pushed
the
upstream-fix
branch
from
October 18, 2023 09:36
ee3a41c to
45fadd9
Compare
phofl
approved these changes
Oct 18, 2023
phofl
reviewed
Oct 18, 2023
| 'ignore:DataFrameGroupBy\.apply operated on the grouping columns\. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation\. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning\.:FutureWarning', | ||
| "ignore:'BA' is deprecated and will be removed in a future version. Please use 'BY' instead of 'BA':FutureWarning", | ||
| 'ignore:numpy\.core.* is deprecated and has been renamed to numpy\._core\.*:DeprecationWarning', # needed for pandas to import | ||
| 'ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead:DeprecationWarning', |
Collaborator
There was a problem hiding this comment.
This is something we have to address over in partd, can you open an issue there?
phofl
reviewed
Oct 18, 2023
| 'ignore:numpy\.core.* is deprecated and has been renamed to numpy\._core\.*:DeprecationWarning', # needed for pandas to import | ||
| 'ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead:DeprecationWarning', | ||
|
|
||
| 'ignore:The previous implementation of stack is deprecated and will be removed in a future version of pandas\.:FutureWarning', |
Collaborator
There was a problem hiding this comment.
Could you open a follow up issue to test the new implementation?
Collaborator
|
2 non blocking comments feel free to merge when ci is through |
Member
Author
|
@phofl I don't have commit-bit on dask/dask so I'll need you to merge |
Collaborator
|
thx @graingert |
graingert
commented
Oct 18, 2023
| "ignore:'A' is deprecated and will be removed in a future version. Please use 'Y' instead of 'A':FutureWarning", | ||
| "ignore:'A-JUN' is deprecated and will be removed in a future version. Please use 'Y-JUN' instead of 'A-JUN':FutureWarning", | ||
| "ignore:'H' is deprecated and will be removed in a future version. Please use 'h' instead of 'H':FutureWarning", | ||
| 'ignore:DataFrameGroupBy\.apply operated on the grouping columns\. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation\. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning\.:FutureWarning', |
graingert
commented
Oct 18, 2023
| # https://pandas.pydata.org/docs/dev/whatsnew/v1.5.0.html#using-group-keys-with-transformers-in-groupby-apply | ||
| "ignore:Not prepending group keys:FutureWarning", | ||
| "ignore:.*:dask.tests.warning_aliases.RemovedIn20Warning", | ||
| "ignore:When grouping with a length-1 list-like, you will need to pass a length-1 tuple to get_group in a future version of pandas:FutureWarning", |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
extends #10539
pre-commit run --all-files