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

Update minimal Python version to 3.11: #296

Merged
merged 3 commits into from
Sep 22, 2024
Merged

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Sep 22, 2024

  • Switch from "toml" to "tomlib + tomli-w"
  • Fixes an issue reading mixed types lists mixed types in array don't work uiri/toml#270 (and empty sets writing [false,] but that has no open issues)
  • Use StrEnum to simplify CaptureMethodEnum

- Switch from "toml" to "tomlib + tomli-w"
- Fixes an issue reading mixed types lists uiri/toml#270 (and empty sets writing `[false,]` but that has no open issues)
- Use StrEnum to simplify `CaptureMethodEnum`
Comment on lines +116 to +118
with open(save_settings_file_path, "wb") as file:
# https://github.com/hukkin/tomli-w/pull/46
tomli_w.dump(autosplit.settings_dict, file) # pyright: ignore[reportArgumentType]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Avasam Avasam merged commit 3773f47 into dev Sep 22, 2024
15 checks passed
@Avasam Avasam deleted the python3.11-+-toml-parsing-issue branch September 22, 2024 00:43
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