Skip to content

Conversation

@heliocastro
Copy link
Contributor

  • Create default settings class based on pydantic-settings with validation
  • Update minimum python requirement to 3.9 as 3.9 is EOL
  • Refactor code to match new settings class
  • Modify tests to use new settings class

Settings can now be defined through environment variables, .env local
file or regular arguments to the script.

All variables need to be prefixed by PYTHON_INSPECTOR_ to be recognized.
Example: PYTHON_INSPECTOR_INDEX_URL="https://pypy1.org,https://foo.bar"
will add this two repositories overriding the public repository.

Raise the minimum python version to 3.9 as 3.8 is EOL.

Signed-off-by: Helio Chissini de Castro <[email protected]>
Signed-off-by: Helio Chissini de Castro <[email protected]>
Signed-off-by: Helio Chissini de Castro <[email protected]>
- Downgrade dataclasses to version 0.6, as last supported to python 3.9
- Update mypy to version 1.0.0

Signed-off-by: Helio Chissini de Castro <[email protected]>
@pombredanne
Copy link
Member

A similar PR has been merged instead:

@pombredanne pombredanne closed this May 2, 2025
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.

2 participants