pysal / segregation

Segregation Measurement, Inferential Statistics, and Decomposition Analysis
https://pysal.org/segregation/
BSD 3-Clause "New" or "Revised" License
112 stars 26 forks source link

init dev container recipe #208

Closed knaaptime closed 1 year ago

knaaptime commented 1 year ago

add setup for codespaces

Screenshot 2022-12-27 at 10 42 09 PM
codecov[bot] commented 1 year ago

Codecov Report

Merging #208 (dd8f83b) into main (233bf50) will increase coverage by 0.11%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
+ Coverage   79.42%   79.54%   +0.11%     
==========================================
  Files         116      116              
  Lines        3427     3427              
==========================================
+ Hits         2722     2726       +4     
+ Misses        705      701       -4     
Impacted Files Coverage Δ
segregation/_version.py 39.16% <0.00%> (+1.18%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

jGaboardi commented 1 year ago

Looks like the failures are due to the numpy problem. Looks good for merging. I'm interested in seeing how this works.

knaaptime commented 1 year ago

@jGaboardi its neat. The files here setup the 'requirements` for a container that will clone your repo and open vscode inside. If you start a new codespace, it should open with everything you need to develop in the cloud, including running the notebooks

jGaboardi commented 1 year ago

Yeah, I just tried it and saw that. Very cool. But the current numba/numpy trouble dampened the notebook experience...

knaaptime commented 1 year ago

if you wanna play around just use pip install numpy==1.23 once the container boots