Skip to content
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

Bumpy library versions of packages focused on analysis #121

Merged
merged 5 commits into from
Aug 1, 2024
Merged

Conversation

scottyhq
Copy link
Contributor

@scottyhq scottyhq commented Jul 30, 2024

This relaxes many exact pins and updates a lot of commonly used scientific python packages to more recent versions

addresses #118

@scottyhq
Copy link
Contributor Author

/condalock

Copy link

Binder 👈 Test this PR on Binder

@scottyhq
Copy link
Contributor Author

scottyhq commented Jul 31, 2024

Well that is a surprising transient dependency incompatibility!...

The following packages are incompatible
├─ geopandas >=1.0  is requested and can be installed;
├─ jupyter-ai ~=2.9.1  is not installable because it requires
│  └─ jupyter-ai-magics 2.9.1 , which requires
│     └─ langchain-community >0.0.8,<=0.1.0 , which requires
│        └─ geopandas >=0.13.1,<0.14.0 , which conflicts with any installable versions previously reported;

xref jupyterlab/jupyter-ai#557

Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Well that is a surprising transient dependency incompatibility!...

The following packages are incompatible
├─ geopandas >=1.0  is requested and can be installed;
├─ jupyter-ai ~=2.9.1  is not installable because it requires
│  └─ jupyter-ai-magics 2.9.1 , which requires
│     └─ langchain-community >0.0.8,<=0.1.0 , which requires
│        └─ geopandas >=0.13.1,<0.14.0 , which conflicts with any installable versions previously reported;

xref jupyterlab/jupyter-ai#557

Seems like jupyter-ai=2.9.1 is a few versions behind (released Jan 2024). I had success with locking using jupyter-ai~=2.20 + some changes below to handle geos version conflicts:

@@ -133,7 +132,7 @@ dependencies:
- icepyx~=1.1.0
- itslive~=0.3.2
- is2view~=0.0.8
- sliderule~=4.0.0
- sliderule~=4.5
- snowexsql~=0.4
Copy link
Member

Choose a reason for hiding this comment

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

Seems like snowexsql has a geopandas<1.0 constraint?

└─ snowexsql ~=0.4  is not installable because it requires
   └─ geopandas >=0.7,<1.0 , which conflicts with any installable versions previously reported.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

environment.yml Show resolved Hide resolved
environment.yml Outdated Show resolved Hide resolved
environment.yml Outdated Show resolved Hide resolved
scottyhq and others added 3 commits August 1, 2024 11:50
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
@scottyhq
Copy link
Contributor Author

scottyhq commented Aug 1, 2024

/condalock

Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Nice! Ok to merge this in first, we can update geopandas to 1.0 later if snowexsql unpins it.

@scottyhq scottyhq merged commit 9d2485c into main Aug 1, 2024
1 check passed
@scottyhq scottyhq deleted the bump-versions branch August 1, 2024 21:17
scottyhq added a commit that referenced this pull request Aug 16, 2024
Updating the conda environment.yml file to include more packages as
requested at #118.

Newly added:
- hydroeval=0.1.0
- itables=2.14
- jupyter-sshd-proxy=0.2.0
- py-xgboost=2.1.1 (cpu)
~- pytorch=2.3.1 (cpu)~
- stackstac=0.5.1

Extensions that are added back since they have new compatible releases:
- jupyter-offlinenotebook=0.3.1

Upgraded:
- code-server from 4.16.1 to 4.23.1
- snowexsql from 0.4.1 to 0.5.0 (so that we can get geopandas 1.0, xref
#121 (comment))
- icepyx from 1.1.0 to 1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants