Skip to content

Conversation

@alihamdan
Copy link
Member

This PR re-organizes the utils subpackage. The important modules are moved to top-level while internal modules are kept in utils.

This is to separate modules that are meant for user use from modules that are meant for internal use. This way we are able to exclude the internal modules from the documentation and make using the important modules easier at the same time.

Old modules are deprecated and will be removed in a future version.

@alihamdan alihamdan added the enhancement New feature or request label Dec 31, 2024
@alihamdan alihamdan requested a review from benoit9126 December 31, 2024 17:12
@alihamdan alihamdan self-assigned this Dec 31, 2024
env:
CI: true
UV_SYSTEM_PYTHON: 1
COVERAGE_CORE: sysmon
Copy link
Member Author

Choose a reason for hiding this comment

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

Tested locally on Python 3.13 (this works on 3.12+). The time of execution of:

  • pytest: ~5 seconds
  • pytest --cov without this change: ~13 seconds
  • pytest --cov with this change: ~5 seconds

Basically, this removes the overhead of coverage. It requires setting branch = false in [tool.coverage.run].

@alihamdan alihamdan merged commit f187513 into develop Dec 31, 2024
6 checks passed
@alihamdan alihamdan deleted the organize branch December 31, 2024 17:51
@benoit9126 benoit9126 mentioned this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants