Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jGaboardi
Copy link
Member

xref #437

This PR resolves some current warnings being thrown from within the codebase and in CI itself.

@codecov
Copy link

codecov bot commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (58017dc) 77.8% compared to head (cc163de) 77.8%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #439   +/-   ##
=====================================
  Coverage   77.8%   77.8%           
=====================================
  Files         27      27           
  Lines       2638    2638           
=====================================
  Hits        2053    2053           
  Misses       585     585           
Files Coverage Δ
spopt/region/azp.py 35.8% <100.0%> (ø)
spopt/region/util.py 63.7% <100.0%> (ø)

@jGaboardi
Copy link
Member Author

I had thought I had a nice solution here, but the new method still is being caught. So after checking, we are pulling geopandas==0.14.0+55.gfb3dd81 as dev from GitHub. But, of course, we can get geopandas==0.14.2 from PyPI.

@martinfleis I am wondering if you think we should change something on our end or if this is a tagging issue in the GeoPandas repo?

@martinfleis
Copy link
Member

I am wondering if you think we should change something on our end or if this is a tagging issue in the GeoPandas repo?

How do you mean this would be an issue in GeoPandas?

@jGaboardi
Copy link
Member Author

I am wondering if you think we should change something on our end or if this is a tagging issue in the GeoPandas repo?

How do you mean this would be an issue in GeoPandas?

This is not exactly related to the union_all functionality. It seems like maybe the tag isn't exactly catching when installing via GitHub:

$ mamba create -n geopandas_from_github python pip git
$ mamba activate geopandas_from_github
$ pip install git+https://github.com/geopandas/geopandas.git
$ python -c "import geopandas; print(geopandas.__version__)"
0.14.0+55.gfb3dd81

And we can see the same version from within our CI. Should this not be something like 0.14.2+##.###? Perhaps I am missing something?

@martinfleis
Copy link
Member

This is expected since we cut minor patches from a branch with backported commits.

@jGaboardi jGaboardi marked this pull request as ready for review January 15, 2024 18:28
jGaboardi and others added 2 commits January 15, 2024 15:55
Co-authored-by: Martin Fleischmann <[email protected]>
Co-authored-by: Martin Fleischmann <[email protected]>
@jGaboardi jGaboardi marked this pull request as draft January 15, 2024 21:03
@jGaboardi jGaboardi marked this pull request as ready for review January 18, 2024 14:55
@jGaboardi jGaboardi requested a review from martinfleis January 18, 2024 14:56
@jGaboardi
Copy link
Member Author

@gegen07 & @martinfleis

The fixture I wrote combines all network instantiation stuff for testing and dramatically reduces warning thrown.

Copy link
Member

@gegen07 gegen07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! The fixture got awesome. Nice work.

@jGaboardi jGaboardi merged commit 1b16c48 into pysal:main Jan 20, 2024
@jGaboardi jGaboardi deleted the gl437_warnings_1 branch January 20, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants