Project

General

Profile

Actions

Bug #111918

open

Pytest 9.0, nox et ciblage des tests à lancer

Added by Emmanuel Cazenave about 1 month ago. Updated 29 days ago.

Status:
Résolu (à déployer)
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10 November 2025
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No
Club:
No

Description

Jusqu'à maintenant on pouvait cibler les tests à lancer via : nox -e "le-nom-de-l'env" -- tests/test_whatever.py.

Ça ne fonctionne plus avec pytest 9.0 : la commande ci-dessous lance tous les tests contenus dans le répertoire 'tests'.

C'est parce que dans nos noxfile il y a ce motif : args += session.posargs + ['tests/'] et que le comportement de pytest est modifié dans cette situation en 9.0 (https://docs.pytest.org/en/stable/changelog.html#removals-and-backward-incompatible-breaking-changes, https://github.com/pytest-dev/pytest/issues/12083).

Actions #1

Updated by Emmanuel Cazenave about 1 month ago

  • Description updated (diff)
Actions #2

Updated by Emmanuel Cazenave about 1 month ago

  • Status changed from Nouveau to En cours
  • Assignee set to Emmanuel Cazenave

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #3

Updated by Emmanuel Cazenave about 1 month ago

  • Status changed from En cours to Solution proposée
Actions #4

Updated by Yann Weber about 1 month ago

  • Status changed from Solution proposée to En cours

🤖 Modifications demandées sur la pull request :

Actions #5

Updated by Robot Gitea about 1 month ago

  • Status changed from En cours to Solution proposée
Actions #6

Updated by Yann Weber about 1 month ago

  • Status changed from Solution proposée to Solution validée

🤖 Pull request approuvée :

Actions #7

Updated by Emmanuel Cazenave about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)

🤖 Pull request fusionnée :

Actions #8

Updated by Yann Weber about 1 month ago

  • Assignee changed from Emmanuel Cazenave to Yann Weber

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #9

Updated by Emmanuel Cazenave about 1 month ago

  • Assignee changed from Yann Weber to Emmanuel Cazenave

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #10

Updated by Yann Weber about 1 month ago

  • Assignee changed from Emmanuel Cazenave to Yann Weber

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #11

Updated by Yann Weber about 1 month ago

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #12

Updated by Emmanuel Cazenave about 1 month ago

🤖 Pull request fusionnée :

Actions #13

Updated by Yann Weber about 1 month ago

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #14

Updated by Yann Weber about 1 month ago

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #16

Updated by Yann Weber 29 days ago

🤖 Pull request fusionnée :

Actions #17

Updated by Yann Weber 29 days ago

🤖 Pull request fusionnée :

Actions #18

Updated by Yann Weber 29 days ago

🤖 Pull request fusionnée :

Actions #19

Updated by Yann Weber 29 days ago

🤖 Pull request fusionnée :

Actions

Also available in: Atom PDF