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

Skip to content

Conversation

@martinfleis
Copy link
Member

Closes #485

@martinfleis martinfleis requested a review from jGaboardi May 8, 2025 16:16
@codecov
Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.2%. Comparing base (13ca45e) to head (e31b142).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
spopt/region/sa3.py 75.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #486     +/-   ##
=======================================
+ Coverage   77.8%   78.2%   +0.4%     
=======================================
  Files         27      28      +1     
  Lines       2638    2716     +78     
=======================================
+ Hits        2053    2125     +72     
- Misses       585     591      +6     
Files with missing lines Coverage Δ
spopt/region/sa3.py 92.2% <75.0%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jGaboardi
Copy link
Member

Need to also add fast_hdbscan to environment.yml

@martinfleis
Copy link
Member Author

Yeah but it seems that this generally needs newer deps than SPEC0 so not sure if it's worth doing this bump.

@jGaboardi
Copy link
Member

Yeah but it seems that this generally needs newer deps than SPEC0 so not sure if it's worth doing this bump.

Is fast_hdbscan not now a requirement? Maybe I overlooked that.

@martinfleis
Copy link
Member Author

It is only a soft dep. But as you can see from the CI, it does not work with our oldest pins. Possibly numpy/sklearn are too old. So bumping libpysal to 4.10 solves only half of a problem.

@jGaboardi
Copy link
Member

Yeah but it seems that this generally needs newer deps than SPEC0 so not sure if it's worth doing this bump.

Let me know when you make a decision.

@martinfleis martinfleis marked this pull request as draft May 8, 2025 17:15
@martinfleis
Copy link
Member Author

To remove all the version flags from $SA^3$, we would have to use sklearn 1.6, which is the latest. I can still bump libpysal and add a version check to CI to skip if older, if you think it makes sense. But it won't work with the oldest anyway.

@jGaboardi
Copy link
Member

To remove all the version flags from $SA3$ , we would have to use sklearn 1.6, which is the latest. I can still bump libpysal and add a version check to CI to skip if older, if you think it makes sense. But it won't work with the oldest anyway.

I think this is a good compromise. Go for it.

@martinfleis martinfleis marked this pull request as ready for review May 8, 2025 19:21
@jGaboardi jGaboardi added the dependencies Pull requests that update a dependency file label May 8, 2025
@jGaboardi jGaboardi merged commit da4e131 into pysal:main May 8, 2025
11 checks passed
@martinfleis martinfleis deleted the lib410 branch May 8, 2025 19:31
fiendskrah pushed a commit to fiendskrah/spopt that referenced this pull request Oct 15, 2025
* bump libpysal requirement to 4.10

* fix imports

* fast_hdbscan

* test if its sklearn

* skip on old sklearn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump libpysal req to 4.10

2 participants