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
upstream fixes #10549
upstream fixes #10549
Conversation
hmm these tests are failing every time in CI but not locally for me
eg:
all pass for me locally |
dask/tests/test_sizeof.py::test_sparse_matrix is failing due to scipy/scipy#18929 |
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 |
Using the newest Dask release and pandas main I get the following:
|
7341677
to
29ed5c2
Compare
I've added to the issue here #10558 |
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.
2 small comments, otherwise lgtm
ee3a41c
to
45fadd9
Compare
@@ -148,6 +148,8 @@ filterwarnings = [ | |||
"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', | |||
"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', |
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.
This is something we have to address over in partd, can you open an issue there?
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.
issue opened here dask/partd#77
@@ -150,7 +150,7 @@ filterwarnings = [ | |||
"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', | |||
|
|||
'ignore:The previous implementation of stack is deprecated and will be removed in a future version of pandas\.:FutureWarning', |
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.
Could you open a follow up issue to test the new implementation?
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.
opened here #10568
2 non blocking comments feel free to merge when ci is through |
@phofl I don't have commit-bit on dask/dask so I'll need you to merge |
thx @graingert |
"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', |
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.
this needs an issue
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.
issue here: #10573
@@ -139,6 +139,18 @@ filterwarnings = [ | |||
# 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", |
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.
this needs an issue
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.
issue here: #10572
extends #10539
pre-commit run --all-files