Skip to content

Conversation

@techouse
Copy link
Owner

This pull request adds support for Python 3.7 to the project, updating configuration files, documentation, and code to ensure compatibility. It also includes minor code refactoring to remove the use of assignment expressions (walrus operator), which are not available in Python 3.7, and adjusts development dependencies.

Python 3.7 Support

  • Updated pyproject.toml, tox.ini, and GitHub Actions workflow (test.yml) to include Python 3.7 in the supported Python versions, classifiers, and test environments. [1] [2] [3] [4] [5]
  • Changed the minimum required Python version from 3.8 to 3.7 in pyproject.toml and updated the documentation in CONTRIBUTING.md to state support for Python 3.7 and above. [1] [2]

Code Compatibility Adjustments

  • Refactored code in src/qs_codec/encode.py, src/qs_codec/utils/decode_utils.py, and tests/unit/decode_test.py to remove assignment expressions (walrus operator :=), ensuring compatibility with Python 3.7. [1] [2] [3] [4]

Development Dependency Updates

  • Adjusted development dependencies in pyproject.toml to use versions compatible with Python 3.7.

Tooling Configuration

  • Updated tool.black and tool.mypy settings in pyproject.toml to target Python 3.7. [1] [2]

@techouse techouse self-assigned this Oct 12, 2025
@techouse techouse added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 12, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 12, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/py37-support

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@techouse techouse closed this Oct 12, 2025
@techouse techouse deleted the chore/py37-support branch October 12, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants