Convert setup.py to pyproject.toml#238
Conversation
8ac2aa0 to
4f5b626
Compare
| pytest-httpserver | ||
| pytest-timeout | ||
| s3fs | ||
| s3fs>2023.6.0 |
There was a problem hiding this comment.
Not sure what happened but the tests kept finding some ancient version of s3fs in the Conda cache.
The other changes to this file is alignment with the requirements in docker/requirements.txt.
| COPY --link docker/distributed.yaml /etc/dask/ | ||
|
|
||
| ENV GDAL_DRIVER_PATH=/env/lib/gdalplugins \ | ||
| PROJ_LIB=/env/share/proj \ |
There was a problem hiding this comment.
Noticed a warning in the tests about the PROJ database being of the wrong version, so removed these (each package needs to use the PROJ database they were compiled with).
| zstd | ||
| python -m pip install --upgrade --no-cache pip | ||
| pip install --upgrade --no-cache -r \ | ||
| pip install --no-cache -r \ |
There was a problem hiding this comment.
I'm fairly sure the --upgrade was masking the ancient s3fs version being installed, so I have removed those switches for everything except pip.
There was a problem hiding this comment.
This workflow looks like it's used for patching the package version. Switched to using setuptools-scm like the other Datacube packages.
The same files are included before/after when doing "python3 -m build" on my machine.
The same files are included before/after
when doing "python3 -m build" on
my machine.