canonical / canonical/pytest-interface-tester

import errors with ops-scenario 7.x

Open
#23 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
5
Avg merge
3d 1h
Merged PRs (30d)
1

Description

Event class is not there in ops-scenario in 7.x and so can see the below error whenever pytest-interface-tester is used.
`ImportError: cannot import name 'Event' from 'scenario'`

https://github.com/canonical/pytest-interface-tester/blob/main/pyproject.toml#L25 should add `<7` as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at pyproject.toml line 25 and inspect the ops-scenario dependency constraint. Run the reported pytest-interface-tester import path with ops-scenario 7.x to confirm the Event ImportError. Done means the dependency specification excludes the incompatible 7.x versions and the relevant test or installation check passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.