pylint-dev / pylint-pytest

A Pylint plugin to suppress pytest-related false positives.
https://pypi.org/project/pylint-pytest/
MIT License
16 stars 3 forks source link

Version Upper Limit #77

Open tslever opened 4 months ago

tslever commented 4 months ago

Describe the bug Your README requires pytest>=4.6. Installation only succeeded for pytest<=8.2.0.

To Reproduce

(add any relevant pylint/pytest plugin here)

Folder structure

$ tree -L 2

.
├── LICENSE
├── README.md
├── Text_IDs.csv
├── __pycache__
│   ├── conftest.cpython-310-pytest-8.2.0.pyc
│   └── conftest.cpython-310-pytest-8.2.2.pyc
├── clean_text.sh
├── conftest.py
├── env
│   ├── bin
│   ├── include
│   ├── lib
│   ├── lib64 -> lib
│   └── pyvenv.cfg
├── get_the_books.sh
├── makefile
├── pylintrc
├── pyproject.toml
├── pytest.ini
├── pytest.log
├── requirements.txt
├── src
│   ├── __init__.py
│   ├── __pycache__
│   └── pkg_tsl2b
└── tests
    ├── __pycache__
    ├── fixtures.py
    ├── test_cleaner.py
    ├── test_system.py
    ├── test_that_fails.py
    ├── test_tokenizer.py
    ├── test_word_counter.py
    └── utilities.py

File content

pylint output with the plugin

(Optional) pytest output from fixture collection

$ pytest --fixtures --collect-only <path/to/test/module.py>
<paste output here, can omit the built-ins>

Expected behavior pylint should work with pytest 8.2.2.

Additional context Add any other context about the problem here.

stdedos commented 4 months ago

This is https://github.com/pylint-dev/pylint-pytest/issues/67 / https://github.com/pylint-dev/pylint-pytest/commit/b493935542e199148670245617be5c08ddeefee0 - and will be fixed eventually for v2