Skip to content

Dependency Conflict: Meraki 1.56.0 requires pytest <8.0.0, but pytest 8.3.5 is installed #286

Closed
@Behdadhp

Description

@Behdadhp

Description
I recently updated meraki to version 1.56.0 and encountered a dependency conflict with pytest. The error message I received is:

The user requested pytest==8.3.5
meraki 1.56.0 depends on pytest<8.0.0 and >=7.2.1

It seems that meraki does not support pytest>=8.0.0, which causes issues when using the latest version of pytest.

Python version installed
Python 3.11.4

Meraki library version installed
meraki 1.56.0

Steps to Reproduce

  1. Create a fresh virtual environment (optional but recommended):
python -m venv test-env
source test-env/bin/activate  # On Windows, use test-env\Scripts\activate
  1. Install pytest latest version:
pip install pytest==8.3.5
  1. Install meraki latest version:
pip install meraki
  1. Observe the dependency conflict error.

Expected behavior
Meraki should ideally support the latest version of pytest or provide a clear workaround.

Suggested Solution

  • Update meraki dependencies to allow pytest>=8.0.0 if compatible.
  • If pytest 8.x is not yet supported, clarify the roadmap or recommend a compatible test setup.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions