ASFHyP3 / hyp3-gamma

HyP3 plugin for generating SAR products with GAMMA
BSD 3-Clause "New" or "Revised" License
30 stars 6 forks source link

consolidate python requirements #564

Closed asjohnston-asf closed 3 months ago

asjohnston-asf commented 3 months ago

TODO

Output of pip freeze for hyp3-gamma:latest and hyp3-gamma:8.1.3.dev16_g4f7ec98 are attached. Diff is reasonable. Tests pass locally and in Github Actions (other than the broken entrypoint scripts).

$ diff latest.txt 8.1.3.dev16.txt 
4,5c4,5
< boto3==1.34.52
< botocore==1.34.52
---
> boto3==1.34.133
> botocore==1.34.133
7,8c7,8
< certifi==2024.2.2
< cftime==1.6.3
---
> certifi==2024.6.2
> cftime==1.6.4
15c15
< fiona==1.9.5
---
> fiona==1.9.6
23,24c23,24
< idna==3.6
< Jinja2==3.1.3
---
> idna==3.7
> Jinja2==3.1.4
32c32
< netCDF4==1.6.5
---
> netCDF4==1.7.1.post1
41c41
< python-dateutil==2.8.2
---
> python-dateutil==2.9.0.post0
44c44
< requests==2.31.0
---
> requests==2.32.3
46c46
< s3transfer==0.10.0
---
> s3transfer==0.10.2
55c55
< urllib3==2.0.7
---
> urllib3==2.2.2
asjohnston-asf commented 3 months ago

Currently stuck figuring out how best to get gdal installed with numpy support. The container works but dev/github installs don't, causing the one failed test.

See the notes for pip at https://pypi.org/project/GDAL/ ; also https://github.com/OSGeo/gdal/issues/5844

jhkennedy commented 3 months ago

@asjohnston-asf why not just install gdal in the conda environment similar to libgdal?