opendatacube / datacube-wps

Web Processing Service running on opendatacube
Other
7 stars 3 forks source link

PyPI release fails #131

Open benjimin opened 3 years ago

benjimin commented 3 years ago

The github action pipeline for pushing to the python package index is failing.

After building the docker image, the log emits warnings related to deprecation of setup.py packaging patterns (which may or may not be related but for example see background here), and then fails with a filesystem permission error.

/env/lib/python3.8/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires.
running bdist_wheel
  warnings.warn(
running build
running build_py
/env/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
installing to build/bdist.linux-x86_64/wheel
  warnings.warn(
running install
error: could not create 'build/bdist.linux-x86_64/wheel': Permission denied
running install_lib
InvalidDistribution: Cannot find file (or expand pattern): './dist/*'
creating build/bdist.linux-x86_64/wheel
InvalidDistribution: Cannot find file (or expand pattern): 'dist/*'
Error: Process completed with exit code 1.
benjimin commented 2 years ago

This is not critical priority because typically deploying from container image, rather than via python package repository.