Skip to content

test_create_no_seed[*-venv-*] flaky gitignore check? #3089

@hroncok

Description

@hroncok

Issue
When trying to update virtualenv to 21.1.0 in Fedora, we hit this test failure:

FAILED tests/unit/create/test_creator.py::test_create_no_seed[root-venv-symlinks-global] - AssertionError: assert ['# created by virtualenv automatically', '*'] == ['# Created by venv; see https://docs.python.org/3/library/venv.html', '*']
  
  At index 0 diff: '# created by virtualenv automatically' != '# Created by venv; see https://docs.python.org/3/library/venv.html'
  
  Full diff:
    [
  -     '# Created by venv; see https://docs.python.org/3/library/venv.html',
  +     '# created by virtualenv automatically',
        '*',
    ]
========== 1 failed, 181 passed, 21 skipped, 74 deselected in 19.93s ===========

This happens only sometimes, not always. Approximately 50:50.

Environment

Provide at least:

  • OS: Fedora Linux 44
  • Shell: Bash
  • Python version and path: Python 3.14.3
  • pip list of the host python where virtualenv is installed:
Package           Version
----------------- ------------
distlib           0.4.0
filelock          3.20.3
flaky             3.8.1
hatch-vcs         0.5.0
hatchling         1.29.0
iniconfig         2.3.0
packaging         26.0
pathspec          1.0.3
pip               26.0.1
platformdirs      4.9.1
pluggy            1.6.0
Pygments          2.19.1
pytest            8.4.2
pytest-env        0.6.2
pytest-mock       3.15.1
pytest-randomly   4.0.1
pytest-timeout    2.4.0
python-dateutil   2.9.0.post0
python-discovery  1.1.0
setuptools        80.10.2
setuptools-scm    9.2.2
six               1.17.0
time-machine      2.16.0
trove-classifiers 2026.1.14.14
virtualenv        21.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions