-
Notifications
You must be signed in to change notification settings - Fork 179
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
Remove editable installs #1479
Remove editable installs #1479
Conversation
This breaks joinmarket-clientserver/install.sh Line 517 in 01dc08a
|
Btw, I have setuptools 67.2.0 installed on my development machine and haven't noticed any problems with running JM itself or test suite. |
Thanks. I cannot confirm my development machine is all set as it should but GitHub Actions should definitely run on any fork. I will investigate further. |
Was trying this approach specifically for CI, by removing |
I assume there is something wrong with the way subpackages are define, Python 3.7 may be running 'legacy' install logic, only assumptions so far... I will try to switch it to a single pyproject.toml |
Now I also have this problem on my local machine.
|
I'm not alone :) |
Note that there is error only when running
That looks like a quite big change, may take a lot of time to review and what is rationale, as we would likely prefer fast fix, at least short term. I'm not saying it's right or wrong approach long term, need then to do more reasearch on Python packaging, what are pros and cons there. |
I'm experiencing similar issue on https://github.com/roshii/joinmarket-clientserver/actions/runs/4874741102/attempts/2 |
After rebasing to master, CI leads to the very same error as your branch: we have Python 3.7 tests passing but other Python version failing with:
We can clearly see that there is something wrong with tests at the moment:
When skipping I am now trying to understand |
Co-authored-by: roshii <[email protected]>
2989b73
to
cc1bfa8
Compare
Failing
|
Big thanks for trying to figure this out! |
Closing PR with fixes implemented by #1490 |
We still have editable install problem for running tests locally, but for that separate issue can be opened. |
198117f CI: Remove editable installs (Kristaps Kaupe) 3641f1e Disable venv caching (Kristaps Kaupe) Pull request description: See #1479 (comment). This seems to be at least increasing chances of CI to succeed. I commented out not removed venv cache part as a reminder that this is not what we want in a long term. `sed -i.bak` not just `sed -i` is to be compatible with both GNU (Linux) and macOS sed. ACKs for top commit: AdamISZ: utACK 198117f Tree-SHA512: 53c2135589be5e24df234e2d168d49a6d841769c4e4ec52227b7fb39c8c043400a9c402dea58fc28c6a1cc394fb580b32cda201f7289b6eb3bd33c8e70846822
Remove editable install option to allow tests to run in a fresh venv.
Issue looks related to pypa/setuptools#3504
It should be noted that issue may not arise in CI due to venv cache being restored. This is a quick fix to allow tests to run, a structural fix could be applied by moving away from legacy setup.py to a single pyproject.toml defining each and every packages .