Skip to content

Convert setup.py to pyproject.toml#238

Open
pjonsson wants to merge 1 commit intoopendatacube:developfrom
pjonsson:convert-pyproj
Open

Convert setup.py to pyproject.toml#238
pjonsson wants to merge 1 commit intoopendatacube:developfrom
pjonsson:convert-pyproj

Conversation

@pjonsson
Copy link
Copy Markdown
Contributor

The same files are included before/after
when doing "python3 -m build" on
my machine.

@pjonsson pjonsson force-pushed the convert-pyproj branch 7 times, most recently from 8ac2aa0 to 4f5b626 Compare February 21, 2026 12:27
pytest-httpserver
pytest-timeout
s3fs
s3fs>2023.6.0
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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 \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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 \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm fairly sure the --upgrade was masking the ancient s3fs version being installed, so I have removed those switches for everything except pip.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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.
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.

1 participant