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

Upgrade tooling to fix broken build #300

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Upgrade tooling to fix broken build #300

merged 1 commit into from
Oct 9, 2024

Conversation

chuckwondo
Copy link
Collaborator

These upgrades to our tooling should greatly reduce future build failures due to things being out of date or incompatible with each other, such as the following:

This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version. (Cloud assembly schema version mismatch: Maximum schema version supported is 36.x.x, but found 38.0.1)

This PR does the following:

  • Have tox install current LTS release of nodejs
  • Have tox install latest v2.x release of CDK CLI
  • Update pip editable install to work with pip 25+

The last point addresses the following warning when running tox:

DEPRECATION: Legacy editable install of hls_lambda_layer==0.0.0 from
file:///Users/chuck/src/NASA-IMPACT/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 pypa/pip#11457

- Have tox install current LTS release of nodejs
- Have tox install latest v2.x release of CDK CLI
- Update pip editable install to work with pip 25+

The last point addresses the following warning when running tox:

> DEPRECATION: Legacy editable install of hls_lambda_layer==0.0.0 from
> file:///Users/chuck/src/NASA-IMPACT/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 pypa/pip#11457
@chuckwondo chuckwondo merged commit 843a044 into dev Oct 9, 2024
1 check passed
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