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

Handle .tar.gz in pkg url #3640

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Handle .tar.gz in pkg url #3640

merged 3 commits into from
Dec 6, 2024

Conversation

Hind-M
Copy link
Member

@Hind-M Hind-M commented Nov 28, 2024

Fix #3589

@Hind-M Hind-M added the release::bug_fixes For PRs fixing bugs label Nov 28, 2024
@@ -17,7 +17,8 @@ namespace mamba::specs
{
inline static constexpr auto ARCHIVE_EXTENSIONS = std::array{ std::string_view(".tar.bz2"),
std::string_view(".conda"),
std::string_view(".whl") };
std::string_view(".whl"),
std::string_view(".tar.gz") };
Copy link
Member

Choose a reason for hiding this comment

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

there are a number of other potential formats: https://docs.python.org/3.10/distutils/sourcedist.html

Copy link
Member Author

Choose a reason for hiding this comment

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

Cool! Thanks for the pointer :)

Copy link
Member

Choose a reason for hiding this comment

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

We will implement them in dedicated PRs if their support is requested.

@Hind-M Hind-M marked this pull request as ready for review December 4, 2024 10:57
@@ -17,7 +17,8 @@ namespace mamba::specs
{
inline static constexpr auto ARCHIVE_EXTENSIONS = std::array{ std::string_view(".tar.bz2"),
std::string_view(".conda"),
std::string_view(".whl") };
std::string_view(".whl"),
std::string_view(".tar.gz") };
Copy link
Member

Choose a reason for hiding this comment

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

We will implement them in dedicated PRs if their support is requested.

@JohanMabille JohanMabille merged commit 6141540 into mamba-org:main Dec 6, 2024
34 checks passed
@Hind-M Hind-M deleted the pkg_url branch December 6, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::bug_fixes For PRs fixing bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Libmamba failed to parse PackageInfo URL error (regression)
3 participants