lisphilar / covid19-sir

CovsirPhy: Python library for COVID-19 analysis with phase-dependent SIR-derived ODE models.
https://lisphilar.github.io/covid19-sir/
Apache License 2.0
109 stars 44 forks source link

build(deps-dev): bump pytest-profiling from 1.7.0 to 1.8.1 #1779

Open dependabot[bot] opened 2 days ago

dependabot[bot] commented 2 days ago

Bumps pytest-profiling from 1.7.0 to 1.8.1.

Release notes

Sourced from pytest-profiling's releases.

1.8.1

  • All: Add a CircleCI Windows build with py3.6-py3.12 and remove references to TravisCI. (#246)
  • All: Add Ubuntu builds for py3.6-3.13
  • All: CircleCI release jobs now depend on both Ubuntu and Windows success.
  • pytest-listener: Use py_modules in setup.py
  • pytest-listener: Fix flakiness on py3.9+ on Windows when the receive time was equal to the clear_time.
  • pytest-profiling: Small refactor to make error messages a bit clearer
  • pytest-profiling: Fixed tests which were installing from PyPI rather than local
  • pytest-profiling: Removed usage of deprecated pytest.yield_fixture.
  • pytest-profiling: Removed usage of distutils, where possible.
  • pytest-server-fixtures: Correct httpd command line
  • pytest-server-fixtures: Minor bugfix now that workspace.workspace is a Path object.
  • pytest-virtualenv: Added default to install editable packages by using direct_url.json, if it exists
  • pytest-virtualenv: Fixed Windows compatibility issues
  • ci: Remove custom hooks from python setup.py test since this is no longer supported.
  • ci: Fix build-related buttons in README.md.

v1.8.0

  • All: Drop support for Python 2 and <3.6, removing compatibility code.
  • All: Use stdlib unittest.mock instead of mock package.
  • All: Removed usage of path.py and path in favour of pathlib. #174 #224
  • pytest-devpi-server: Run devpi-init for initialisation. #179
  • pytest-server-fixtures: BREAKING CHANGE: Removed RethinkDB support, as the mirror was no longer available.
  • pytest-server-fixtures: Allowed passing through HTTP headers to the server. #149
  • pytest-server-fixtures: Fixed threading log debug messages. #146
  • pytest-server-fixtures: Removed usage of deprecated Thread.setDaemon. #202
  • pytest-server-fixtures: Explicitly close initial Mongo client. #198
  • pytest-server-fixtures: Don't use context manager for CREATE DATABASE #186
  • pytest-shutil: Removed contextlib2 requirement. #144
  • pytest-shutil: Fixed forcing color through termcolor. #217
  • pytest-shutil: Replaced deprecated imp module #219
  • pytest-profiling: Added support to hide/show the full path of file. #95
  • pytest-profiling: Fixed SVG file generation on Windows. #93
  • pytest-profiling: Remove pinning of more-itertools. #194
  • pytest-profiling: Add support to define element number for print_stats() #96
  • pytest-profiling: Fix mock in test_writes_summary #223
  • pytest-virtualenv: Modernised package. #188 #185 #182 #163
  • pytest-virtualenv: Fixed virtualenv creation on Windows. #142
  • pytest-virtualenv: Added delete_workspace parameter to VirtualEnv. #195
  • pytest-virtualenv: Removed extras_require. #240
  • ci: Remove usage of deprecated distutils. #189
  • ci: Disabled jenkins server tests on CircleCI to improve build time.
  • ci: Fixed collections import for py 3.11 compatibility #222
Changelog

Sourced from pytest-profiling's changelog.

1.8.1 (2024-11-29)

  • All: Add a CircleCI Windows build with py3.6-py3.12 and remove references to TravisCI. (#246)
  • All: Add Ubuntu builds for py3.6-3.13
  • All: CircleCI release jobs now depend on both Ubuntu and Windows success.
  • pytest-listener: Use py_modules in setup.py
  • pytest-listener: Fix flakiness on py3.9+ on Windows when the receive time was equal to the clear_time.
  • pytest-profiling: Small refactor to make error messages a bit clearer
  • pytest-profiling: Fixed tests which were installing from PyPI rather than local
  • pytest-profiling: Removed usage of deprecated pytest.yield_fixture.
  • pytest-profiling: Removed usage of distutils, where possible.
  • pytest-server-fixtures: Correct httpd command line
  • pytest-server-fixtures: Minor bugfix now that workspace.workspace is a Path object.
  • pytest-virtualenv: Added default to install editable packages by using direct_url.json, if it exists
  • pytest-virtualenv: Fixed Windows compatibility issues
  • ci: Remove custom hooks from python setup.py test since this is no longer supported.
  • ci: Fix build-related buttons in README.md.

1.8.0 (2024-10-17)

  • All: Drop support for Python 2 and <3.6, removing compatibility code.
  • All: Use stdlib unittest.mock instead of mock package.
  • All: Removed usage of path.py and path in favour of pathlib. #174 #224
  • pytest-devpi-server: Run devpi-init for initialisation. #179
  • pytest-server-fixtures: BREAKING CHANGE: Removed RethinkDB support, as the project is no longer maintained.
  • pytest-server-fixtures: Allowed passing through HTTP headers to the server. #149
  • pytest-server-fixtures: Fixed threading log debug messages. #146
  • pytest-server-fixtures: Removed usage of deprecated Thread.setDaemon. #202
  • pytest-server-fixtures: Explicitly close initial Mongo client. #198
  • pytest-server-fixtures: Don't use context manager for CREATE DATABASE #186
  • pytest-shutil: Removed contextlib2 requirement. #144
  • pytest-shutil: Fixed forcing color through termcolor. #217
  • pytest-shutil: Replaced deprecated imp module #219
  • pytest-profiling: Added support to hide/show the full path of file. #95
  • pytest-profiling: Fixed SVG file generation on Windows. #93
  • pytest-profiling: Remove pinning of more-itertools. #194
  • pytest-profiling: Add support to define element number for print_stats() #96
  • pytest-profiling: Fix mock in test_writes_summary #223
  • pytest-virtualenv: Modernised package. #188 #185 #182 #163
  • pytest-virtualenv: Fixed virtualenv creation on Windows. #142
  • pytest-virtualenv: Added delete_workspace parameter to VirtualEnv. #195
  • pytest-virtualenv: Removed extras_require. #240
  • ci: Remove usage of deprecated distutils. #189
  • ci: Disabled jenkins server tests on CircleCI to improve build time.
  • ci: Fixed collections import for py 3.11 compatibility #222

1.7.1 (2019-05-28)

  • pytest-profiling: Fix pytest-profiling to profile fixtures. #48
  • pytest-devpi-server: Fixed Python 3.4 support updating "ruamel.yaml" requirements. #138
  • ci: Added PYTEST_DONT_REWRITE in order to suppress module already imported. #123
Commits
  • ce6b157 Release version 1.8.1
  • 879f929 pytest-listener: Fix flakiness on windows-py39+ due to receive() happening on...
  • 5480ab9 pytest-listener: Use py_modules in setup.py
  • 37cea8d pytest-server-fixtures: Correct httpd command line
  • 21aa8c5 Add builds for new py versions and Windows to CircleCI (#245)
  • 286e040 Release 1.8.0 (#241)
  • 01b3fb2 Merge pull request #226 from man-group/224-fix-shutil
  • 1a74776 Remove outdated requirements, and fix another test
  • c16e075 Fix a few more tests
  • ebf746f Fix tests
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

sourcery-ai[bot] commented 2 days ago

Reviewer's Guide by Sourcery

This PR updates the pytest-profiling development dependency from version 1.7.0 to 1.8.1. The update includes several improvements and modernizations to the pytest-plugins suite, with specific enhancements to pytest-profiling including better error messages, removal of deprecated features, and improved Windows compatibility.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Modernization and removal of deprecated features
  • Removed usage of deprecated pytest.yield_fixture
  • Removed usage of distutils where possible
  • Dropped support for Python 2 and <3.6
  • Switched to stdlib unittest.mock instead of mock package
poetry.lock
Enhanced profiling functionality and compatibility
  • Added support to hide/show full path of file
  • Fixed SVG file generation on Windows
  • Added support to define element number for print_stats()
  • Improved error message clarity
poetry.lock
Build system and dependency improvements
  • Fixed tests which were installing from PyPI rather than local
  • Removed pinning of more-itertools
  • Added support for Python 3.6-3.13
poetry.lock

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).