Convert setup.py to pyproject.toml#908
Conversation
8cd76e4 to
f40b6c2
Compare
|
I can't see the log from continuous-integration/jenkins/pr-head, so not sure why that is red. |
|
from the error logs: as far as I understand the license field should not be a string but a mapping with field "text" containing that string. |
|
probably related to |
9c86048 to
15d8ce8
Compare
|
@soxofaan ok, this revision of the PR works in a Python 3.8 container for me, and I've rebased to latest master. |
15d8ce8 to
c18db73
Compare
|
Still red in the CI despite building locally, so I'm guessing the CI logs that I can't see are trying to run Accepted any version of sphinx-autodoc-typehints for Python versions that have reached end of life, and skipped |
c18db73 to
8900d43
Compare
|
Apparently still red, but I can't guess what the CI does next, so I need to see some more logs. |
|
yes I was afraid this would be bit of a rabbit whole and wrestling with CI contexts built on outdated assumptions the failure on 8900d43 is an actual unit test failure: |
|
On a more general note: is there any particular reason you work on this? Are the current setup.py based wheel releases at e.g. https://pypi.org/project/openeo/ not sufficient in some sense? Do you want to make custom builds or something like that? But to be clear: I definitively also want to move to pyproject.toml, but was planning to do that after we can drop the python 3.8 support (because that would eliminate some annoying intricacies in our internal CI setup) |
Since it can't find The test seems to still pass in the Python 3.8 container when I run with uv: so I think the test/package itself is fine.
Well, the immediate thing I wanted is a Switching to I think it's the first time I've seen a private CI used on GitHub and I assume you have good reasons for why things are set up the way they are, but the black-box turning red does raise the bar for third-party contributions (and seems to give the maintainers extra work) compared to regular GitHub actions. |
4f6601e to
751b925
Compare
The same files are included before/after when doing "python3 -m build" on my machine. Fixes Open-EO#920
751b925 to
6c9f729
Compare
| run: | | ||
| python -m pip install --upgrade pip | ||
| python -m pip install .[tests] | ||
| python -m pip install -e .[tests] |
There was a problem hiding this comment.
The error message looks similar so I think this is the root cause for the failing non-public CI as well, but I'm not sure I can fix that.
The same files are included before/after
when doing "python3 -m build" on
my machine.