Skip to content

Conversation

@KyleKing
Copy link
Collaborator

Fix #41

@KyleKing KyleKing requested a review from Copilot August 19, 2025 02:35
@KyleKing KyleKing self-assigned this Aug 19, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR drops support for Python 3.8 as a breaking change, updating the minimum required Python version to 3.9 and adding support for newer Python versions.

  • Updates minimum Python version requirement from 3.7 to 3.9
  • Adds support for Python 3.11, 3.13, and development version 3.14
  • Updates CI/CD configuration to test against new Python versions and adds macOS testing

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Updates minimum Python version requirement and removes upper bound on mdformat dependency
tox.ini Updates test environments to use Python 3.9, 3.11, and 3.13 instead of 3.7 and 3.8
.github/workflows/tests.yml Updates CI matrix to test Python 3.9, 3.13, 3.14-dev and adds macOS runner
mdformat_myst/py.typed Adds PEP 561 marker file for type information

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

requires-python=">=3.9"
requires=[
"mdformat >=0.7.0,<0.8.0",
"mdformat >=0.7.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We shouldn't need to pin mdformat because a breaking change may not impact this package

@KyleKing
Copy link
Collaborator Author

I'm going to go ahead and merge because the changes are minimal and CI passes. We can fix forward on any issues or concerns

@KyleKing KyleKing merged commit aad737f into master Aug 19, 2025
12 checks passed
@KyleKing KyleKing deleted the drop-python-3.8 branch August 19, 2025 02:38
@KyleKing
Copy link
Collaborator Author

Released with 0.2.2, but should likely have been 0.3.0 because of the (partially) breaking change by dropping Python support

push:
branches: [ master ]
tags: [ '*.*.*' ]
tags: [ '[0-9]+.[0-9]+.[0-9]+*' ]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For consistency with mdformat, the format of v#.#.# is no longer supported and #.#.# should be used instead. However, this might cause more confusion because of how previous tags were labeled

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.

Drop Python 3.7 and 3.8 for consistency with mdformat

2 participants