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

Address deprecation warning emitted during editable install of hls_lambda_layer #306

Open
chuckwondo opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
chore Keeping things up to date/addressing deprecations

Comments

@chuckwondo
Copy link
Collaborator

During deployment, we get the following deprecation warning:

dev: commands[4]> pip install -e ./layers/hls_lambda_layer/python
Obtaining file:///home/runner/work/hls-orchestration/hls-orchestration/layers/hls_lambda_layer/python
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: hls_lambda_layer
  Attempting uninstall: hls_lambda_layer
    Found existing installation: hls_lambda_layer 0.0.0
    Uninstalling hls_lambda_layer-0.0.0:
      Successfully uninstalled hls_lambda_layer-0.0.0
  DEPRECATION: Legacy editable install of hls_lambda_layer==0.0.0 from file:///home/runner/work/hls-orchestration/hls-orchestration/layers/hls_lambda_layer/python (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457

We want to update hls_lambda_layer according to the instructions in the warning. The use of --use-pep517 with setuptools >= 64 is likely easier than switching to using pyproject.toml.

@chuckwondo chuckwondo self-assigned this Jan 14, 2025
@chuckwondo chuckwondo added the chore Keeping things up to date/addressing deprecations label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Keeping things up to date/addressing deprecations
Projects
None yet
Development

No branches or pull requests

1 participant