CMakePP / CMinx

Generates API documentation for CMake functions and macros
https://cmakepp.github.io/CMinx/
Apache License 2.0
14 stars 5 forks source link

Fix ValueError on Python 3.11 #146

Closed AutonomicPerfectionist closed 1 year ago

AutonomicPerfectionist commented 1 year ago

Is this pull request associated with an issue(s)? Fixes #142

Description This PR turns the component settings objects into default factory fields instead of static singletons, correcting a ValueError on Python 3.11. It also adds Python 3.11.2 to the test matrix of the pip_install action.

codecov[bot] commented 1 year ago

Codecov Report

Base: 97.09% // Head: 97.09% // No change to project coverage :thumbsup:

Coverage data is based on head (caa052e) compared to base (7801a20). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #146 +/- ## ======================================= Coverage 97.09% 97.09% ======================================= Files 8 8 Lines 931 931 ======================================= Hits 904 904 Misses 27 27 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `97.09% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/CMakePP/CMinx/pull/146?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP) | Coverage Δ | | |---|---|---| | [src/cminx/config.py](https://codecov.io/gh/CMakePP/CMinx/pull/146?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP#diff-c3JjL2NtaW54L2NvbmZpZy5weQ==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

ryanmrichard commented 1 year ago

🚀 [bumpr] Bumped! New version:v1.1.5 Changes:v1.1.4...v1.1.5