-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fix pypy3 tests #485
Fix pypy3 tests #485
Conversation
No clue why pypy is failing. Opened a ticket here |
@BeyondEvil compount issue with tox and setuptools_scm when tox tries to find the version, it gets warning output from setuptools_scm as well @gaborbernat any idea what this could be ? @BeyondEvil a workaround may be to unshallow the checkout and/or ensure its filtered instead of completely shallow |
FTR; as far as i can tell setuptools_scm warning output lands on the stdout instead of the stderr, this could indicate a pypy bug |
A small reproducer would be helpful |
There is an error when running tox deep inside pytest (this one is from the Ubuntu run). Why should that be on stdout?
If I run pip install of these packages it succeeds:
|
I don't know. I'll try to create a small repro repo later. |
I tried to reproduce locally, following the commands in the runner log (from Ubuntu)
Tests run and pass. |
Ok, that's good to know. I'm working on a repro repo. |
Maybe I'm just stupid and/or it's a total red herring, but if I remove https://github.com/BeyondEvil/pypy3-error-repro/runs/4844352587?check_suite_focus=true So, maybe the issue is related to it somehow? Maybe something to do with setuptools? Wait... could this be related: [tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/pytest_html/__version.py" I still don't get why it breaks if the file is missing completely... I guess crisis averted, seems like today Tox relies on |
@RonnyPfannschmidt What are the potential drawbacks of switching the plugin to pyproject.toml instead? At the very least do what we do in https://github.com/pytest-dev/pytest-selenium? |
Not sure how relevant this is anymore. Closing. Feel free to reopen if I'm wrong. |
We have weekly CI runs of PyPy + pytest-html to make sure it keeps working. Since the tests are green, I think it is fine to close. |
No description provided.