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: Skip misformatted configuration files #3580

Merged
merged 4 commits into from
Nov 12, 2024
Merged

Conversation

ChaonengQuan
Copy link
Contributor

@jjerphan jjerphan added the release::bug_fixes For PRs fixing bugs label Nov 9, 2024
Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

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

Thank you, @ChaonengQuan.

I can reproduce the error on both micromamba 1.5 and 2.0.

libmamba/src/api/configuration.cpp Outdated Show resolved Hide resolved
@jjerphan jjerphan changed the title fix: fix a bug where scalar only .condarc file causes micromamba comm… fix: Skip misformated configuration files Nov 9, 2024
@jjerphan jjerphan changed the title fix: Skip misformated configuration files fix: Skip misformatted configuration files Nov 9, 2024
ChaonengQuan and others added 2 commits November 9, 2024 07:16
@ChaonengQuan
Copy link
Contributor Author

Thank you Julien, working on unit tests

@ChaonengQuan
Copy link
Contributor Author

ChaonengQuan commented Nov 9, 2024

unit tests added, please take a look when you are available @jjerphan

Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

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

LGTM given 🟢 CI checks.

Thank you, @ChaonengQuan.

@jjerphan
Copy link
Member

jjerphan commented Nov 12, 2024

@ChaonengQuan: can you open the same PR, but targeting the 1.x branch this time?

Edit: done with #3593.

@jjerphan jjerphan merged commit 554d926 into mamba-org:main Nov 12, 2024
32 checks passed
jjerphan added a commit to jjerphan/mamba that referenced this pull request Nov 12, 2024
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Chaoneng Quan <chaonengquan@Chaonengs-MacBook-Pro.local>
@ChaonengQuan
Copy link
Contributor Author

ChaonengQuan commented Nov 12, 2024

Thank you for merging this PR!
No problem, creating a PR for 1.x branch with same fix

@ChaonengQuan
Copy link
Contributor Author

Here is the PR for 1.x branch
#3594

@ChaonengQuan
Copy link
Contributor Author

ChaonengQuan commented Nov 16, 2024

Hi Julien, just wonder if you know when the next micromamba release will be and if this fix will be included?

@jjerphan
Copy link
Member

Hi,

We need to merge #3593 and release 1.5.11 then. Failures on 1.x need to be understood and fixed.

Feel free to work on this — we highly welcome external contributions.

jjerphan added a commit to jjerphan/mamba that referenced this pull request Nov 18, 2024
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Chaoneng Quan <chaonengquan@Chaonengs-MacBook-Pro.local>
jjerphan added a commit to jjerphan/mamba that referenced this pull request Nov 18, 2024
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Chaoneng Quan <chaonengquan@Chaonengs-MacBook-Pro.local>
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.

3 participants