Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running testmon with xdist fails when there is a new Python dependency #245

Open
ajeetdsouza opened this issue Jan 8, 2025 · 1 comment

Comments

@ajeetdsouza
Copy link

What is your setup and what steps did you do?

  • Create a Poetry project
  • Run pytest -n12 --testmon
  • poetry add a new dependency
  • Run pytest -n12 --testmon and it breaks

What was the outcome?

When the list of packages changes, testmon tries to execute this line:

cursor.execute(

But the DB has been created as readonly, since it's running within xdist:

readonly=get_running_as(config) == "worker",

So the execution fails.

What did you expect instead?

.

What is your operating system and it's version please?

macOS 15.2.

@ajeetdsouza
Copy link
Author

Related: #234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant