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

Fix for regression deploying resources with PyPi and Maven library types #2341

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

andrewnester
Copy link
Contributor

@andrewnester andrewnester commented Feb 12, 2025

Changes

The CheckForSameNameLibraries mutator incorrectly assumed all resource libraries define libraries as paths of the string type, but some libraries, such as PyPi and Maven, define them as objects.

This PR addresses this issue. It was introduced in #2297.

Tests

Added regression test.

@andrewnester andrewnester merged commit ac439f8 into main Feb 12, 2025
8 of 9 checks passed
@andrewnester andrewnester deleted the fix/using-pypi-library branch February 12, 2025 16:14
andrewnester added a commit that referenced this pull request Feb 12, 2025
Bundles:
 * Fix for regression deploying resources with PyPi and Maven library types ([#2341](#2341)).
andrewnester added a commit that referenced this pull request Feb 12, 2025
Bundles:
* Fix for regression deploying resources with PyPi and Maven library
types ([#2341](#2341)).
pietern added a commit that referenced this pull request Feb 12, 2025
pietern added a commit that referenced this pull request Feb 12, 2025
## Changes

These changes break the use of non-local libraries (such as PyPI
libraries).

This reverts the set so we can cut a patch release and take a closer
look later.

Original PRs are #2297 and #2341.

Issue reported in #2343.

## Tests

Manually confirmed that a bundle with PyPI package in libraries now
deploys fine.
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.

2 participants