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: Support maison 2.0.0 #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cjwatson
Copy link

Closes #258

I didn't see a good way to test both alternatives directly in the test suite, and it seemed too aggressive to just require the new version (though I can do that if you prefer). However, I've at least tested manually with both old and new versions of maison.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10568469741

Details

  • 8 of 9 (88.89%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 95.588%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/autoimport/entrypoints/cli.py 8 9 88.89%
Totals Coverage Status
Change from base Build 9895668044: -0.2%
Covered Lines: 325
Relevant Lines: 340

💛 - Coveralls

@lyz-code
Copy link
Owner

Thank you for your contribution @cjwatson , the path we've followed at yamlfix is to release a last version with the version pinned for maison < 2.0.0 and then assume that the users using the latest version are going to use the latest version of the dependencies.

If that sounds good to you, the ideal path for me would be:

  • Do a pr to pin the versions, we'll merge it and I release a patch version
  • Then tweak this pr to only support maison > 2.0.0 (increasing the version pin in pyproject.toml), once merged I'll do a minor release.

How do you see it?

@zhou13
Copy link
Contributor

zhou13 commented Sep 15, 2024

I add #260 to just limit the version of maison.

@lyz-code
Copy link
Owner

lyz-code commented Oct 1, 2024

@zhou13 's contribution to pin maison <2.0.0 is merged and released at 1.6.1.

@lyz-code lyz-code mentioned this pull request Oct 1, 2024
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.

Support maison 2.0.0
4 participants