dependabot[bot]
4902dc32e9
build(deps): bump hynek/build-and-inspect-python-package ( #1112 )
...
Bumps the github-actions group with 1 update: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ).
Updates `hynek/build-and-inspect-python-package` from 2.7 to 2.8
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.7...v2.8 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-03 12:18:54 -03:00
pre-commit-ci[bot]
e377c3428c
[pre-commit.ci] pre-commit autoupdate ( #1113 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.4 → v0.5.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.4...v0.5.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-31 22:23:53 -03:00
Ronny Pfannschmidt
224d026e67
Merge pull request #1110 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-07-24 00:12:19 +02:00
Bruno Oliveira
569cb964d3
Adapt to mypy 1.11
2024-07-23 10:05:14 -03:00
pre-commit-ci[bot]
8230e4f1e1
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.2...v0.5.4 )
- [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.1...v1.11.0 )
2024-07-22 22:33:28 +00:00
dependabot[bot]
b417c792f1
build(deps): bump hynek/build-and-inspect-python-package ( #1109 )
...
Bumps the github-actions group with 1 update: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ).
Updates `hynek/build-and-inspect-python-package` from 2.6 to 2.7
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.6...v2.7 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 15:35:56 -03:00
pre-commit-ci[bot]
d8efeb9f74
[pre-commit.ci] pre-commit autoupdate ( #1105 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-18 09:01:15 -03:00
dependabot[bot]
fabdbe3fd2
build(deps): bump pypa/gh-action-pypi-publish ( #1100 )
...
Bumps the github-actions group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ).
Updates `pypa/gh-action-pypi-publish` from 1.8.14 to 1.9.0
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.14...v1.9.0 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 08:41:58 -03:00
pre-commit-ci[bot]
f8eaa1483b
[pre-commit.ci] pre-commit autoupdate ( #1104 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0 )
- [github.com/asottile/blacken-docs: 1.16.0 → 1.18.0](https://github.com/asottile/blacken-docs/compare/1.16.0...1.18.0 )
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-02 07:55:25 -03:00
pre-commit-ci[bot]
f1ae09176b
[pre-commit.ci] pre-commit autoupdate ( #1101 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.8...v0.4.10 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-27 09:27:07 -03:00
pre-commit-ci[bot]
c7b4f61144
[pre-commit.ci] pre-commit autoupdate ( #1095 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.4.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-10 21:58:13 -03:00
dependabot[bot]
39cb171341
build(deps): bump hynek/build-and-inspect-python-package ( #1088 )
...
Bumps the github-actions group with 1 update: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ).
Updates `hynek/build-and-inspect-python-package` from 2.5 to 2.6
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.5...v2.6 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 21:58:00 -03:00
pre-commit-ci[bot]
98f2fc5982
[pre-commit.ci] pre-commit autoupdate ( #1079 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.7 )
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0 )
* Ignore "Use format specifiers instead of percent format" ruff error
No reason to force this in old code.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2024-06-04 09:59:02 -03:00
Nick Murphy
6f3f574c90
Clarify error message to indicate that users should refer to the documentation of pytest-xdist ( #1092 )
2024-06-04 08:50:20 -03:00
dependabot[bot]
7cc6515c06
build(deps): bump hynek/build-and-inspect-python-package ( #1082 )
...
Bumps the github-actions group with 1 update: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ).
Updates `hynek/build-and-inspect-python-package` from 2.4 to 2.5
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.4...v2.5 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 07:38:54 -03:00
Ran Benita
e04e4ac30d
Merge pull request #1077 from bluetech/tox-tweak
...
Some tox/build/config tweaks
2024-04-29 10:09:07 +03:00
Ran Benita
64469f56a3
MANIFEST.in: remove
...
I don't think a few unnecessary dot files bother anyone, and may
arguably be useful to someone.
2024-04-28 22:59:43 +03:00
Ran Benita
7c83841a3d
pyproject: remove setuptools include-package-data = false
...
I compared the sdists and wheels and it makes no difference.
2024-04-28 22:54:31 +03:00
Ran Benita
6d54a6b2e3
pyproject: remove setuptools zip-safe key
...
According to
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration
it's no longer relevant.
2024-04-28 22:52:30 +03:00
Ran Benita
a9a3d13a29
pyproject: remove setuptools platforms key
...
According to
https://packaging.python.org/en/latest/specifications/core-metadata/#platform-multiple-use
this is redundant with the classifiers.
2024-04-28 22:51:26 +03:00
Ran Benita
d204fdf965
pyproject: move pytest config from tox.ini
2024-04-28 22:48:51 +03:00
Ran Benita
fb51e6ba20
tox: some cleanups & remove hardcoded python3.10
2024-04-28 22:46:55 +03:00
Ran Benita
c143230d88
Merge pull request #1076 from pytest-dev/release-3.6.1
...
Release 3.6.1
2024-04-28 22:30:35 +03:00
Ran Benita
4dd2978031
Release 3.6.1
v3.6.1
2024-04-28 22:20:45 +03:00
Ran Benita
b397288b7e
Merge pull request #1072 from zmedico/gateway-cache-rinfo
...
Cache execnet gateway rinfo during WorkerController setup
2024-04-28 22:17:03 +03:00
Zac Medico
12b3cce0ce
Cache execnet gateway rinfo during WorkerController setup
...
Cache execnet gateway info during WorkerController setup for backward
compatibility, in order to avoid a later main_thread_only deadlock
error triggered when pytest-cov calls rinfo after the main thread is
already busy. See pytest-dev/execnet#274 for corresponding test case.
Fixes: 20e3ac774e ("Use execnet main_thread_only execmodel (#1027 )")
2024-04-28 22:01:32 +03:00
dependabot[bot]
c93a106b3a
build(deps): bump hynek/build-and-inspect-python-package ( #1066 )
...
Bumps the github-actions group with 1 update: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ).
Updates `hynek/build-and-inspect-python-package` from 2.2 to 2.4
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.2...v2.4 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 14:20:59 -03:00
pre-commit-ci[bot]
52e2022638
[pre-commit.ci] pre-commit autoupdate ( #1073 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-23 14:20:44 -03:00
Ran Benita
699f939b5c
Merge pull request #1070 from pytest-dev/release-3.6.0
...
Release 3.6.0
2024-04-19 22:49:28 +03:00
Ran Benita
80bc0b8e5b
Release 3.6.0
v3.6.0
2024-04-19 22:39:59 +03:00
Zac Medico
20e3ac774e
Use execnet main_thread_only execmodel ( #1027 )
...
Use the execnet main_thread_only execmodel so that code which expects
to run in the main thread will just work. This execmodel has been
merged to the execnet master branch via pytest-dev/execnet#243, so this
patch should not be merged until there is a released version of execnet
supporting the main_thread_only execmodel.
Closes #620
2024-04-19 08:03:32 -03:00
Bruno Oliveira
0a4238f6da
Merge pull request #1067 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-04-17 15:11:33 -03:00
pre-commit-ci[bot]
068627994f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.3.7 )
2024-04-17 15:09:14 -03:00
Ran Benita
ecf7c1cd10
Merge pull request #1065 from bluetech/typing
...
Improve typing
2024-04-16 23:36:41 +03:00
Ran Benita
b78cf1c0ce
Improve typing
...
Fix #1057
2024-04-15 23:30:17 +03:00
Ran Benita
5dfc590a8c
Merge pull request #1061 from bluetech/scheduling-proto
...
Add a Scheduling Protocol
2024-04-15 18:20:29 +03:00
Ran Benita
bf2dcccfb0
Add a Scheduling Protocol
...
- Clearly delineate the required interface of schedulers
- Useful for typing
2024-04-15 18:05:46 +03:00
Bruno Oliveira
91812bf5f9
Merge pull request #1062 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-04-10 11:08:51 -03:00
pre-commit-ci[bot]
7c3f70f007
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
2024-04-08 22:37:10 +00:00
Ran Benita
47208081d6
Merge pull request #1060 from bluetech/pre-typing-fixes
...
Pre-typing fixes/improvements
2024-04-06 22:26:31 +03:00
Ran Benita
cdff86a131
pyproject: make plain mypy run work
2024-04-06 21:55:44 +03:00
Ran Benita
29aa05f9bf
testing: add worksteal to TestLocking tests
...
Seems like it intends to check all schedulers.
2024-04-06 21:55:44 +03:00
Ran Benita
d6c81d5537
pre-commit: remove py from typing deps, add types-psutil
...
py is no longer used.
psutil is used optionally so add its typing.
2024-04-06 21:55:42 +03:00
Ran Benita
e7a971b167
Use from __future__ import annotations
...
Allows us to use more modern typing.
2024-04-06 21:55:21 +03:00
Ran Benita
059c1bcc8c
remote,workermanage: use enums for markers
...
Enum has a unique type, unlike `object()`, enabling better typing.
2024-04-06 21:54:44 +03:00
Ran Benita
ee0b09c61f
loadscope: use dict instead of OrderedDict
...
These days dicts are guaranteed to be ordered, so no need to use
OrderedDict in two of the three cases (the remaining case needs
`popitem(last=False)`).
2024-04-06 21:54:44 +03:00
Ran Benita
024c73f29e
testing: fix a private pytest import to its current location
2024-04-06 21:54:44 +03:00
Ran Benita
5c676aa685
dsession,workermanage: drop handling of pytest_captured_warning
...
Since d153e0a4c4 the remote doesn't send
events for this hook at all (I think perhaps wrongly, but it's history
by now), so no point in handling it in the coordinator side.
2024-04-06 21:54:44 +03:00
Ran Benita
a3b9a98126
looponfail: remove unneeded setup(out) parameter
...
It's not used.
2024-04-06 21:54:44 +03:00
Ran Benita
4057da1c1f
remote: use perf_counter() to measure duration, not time()
...
`time()` is not monotonic and is not appropriate for measuring duration.
2024-04-06 21:54:44 +03:00