CI: Fix the release workflows (GHA and travis CI)#1253
CI: Fix the release workflows (GHA and travis CI)#1253jorisvandenbossche merged 9 commits intoshapely:mainfrom
Conversation
|
Regarding the secrets and manage access, I would maybe directly / first move to the shapely org, and fix it there (otherwise we will need to do it twice), see #1204 |
My plan was to progressively move the tests from /tests into /shapely/tests (eg #1257 as a start). Personally I wouldn't care too much about the /tests here for now and just run /shapely/tests in the packaging CI (I suppose we won't make an actual release before the tests are actually moved. Or otherwise we can already move them in bulk into a subdirectory of /shapely/tests (I would avoid creating tests_pygeos / tests_shapely, as that would unnecessarily move once more the tests that are already in /shapely/tests) |
|
@caspervdw I think you should have the privileges now to continue this PR? |
|
Yes that’s ok, only Travis is still showing the message “ Builds have been temporarily disabled for public repositories due to a negative credit balance” I am not sure how to proceed here. Did the negative credit balance get carried along with the organisation change of tobleriy to here? @sgillies do you have an idea on how to get Travis running again? Maybe we can reach out to Travis? |
This organization was already used for the shapely-wheels repo, so I suppose the credits have been used there |
|
I emailed Travis' support for requesting OSS credits. In the meantime, I think we can already get this PR merged? |
|
Sure we can get this merged right away, however the PyPI tokens still need to be configured. @sgillies Could you generate two tokens for the shapely repo? Or grant me rights (username: caspervdw) at PyPI to do so myself? |
|
BTW, I got reply from Travis and we should now have free credits (at least for some time ..) |
|
But so it was running of this PR, so that is useful: https://app.travis-ci.com/github/shapely/shapely/jobs/561140861 |
|
There seems to be one test failure on Python 3.8 for the aarch64 builds: Since it was passing on older python versions, it might be dependent on the numpy version? |
Pull Request Test Coverage Report for Build 1895047080Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
| - master | ||
| - main | ||
| - travis | ||
| - /^\d+\.\d+(\.\d+)?(-\S*)?$/ |
There was a problem hiding this comment.
According to https://docs.travis-ci.com/user/conditions-v1, we should be able to add something like if: tag IS present for having it only run on tags (on main)
|
For Travis, the wheel build job is passing, but the other ones are still failing (see https://app.travis-ci.com/github/shapely/shapely/builds/249895523). Since this PR is focusing on fixing the release workflow, I am going to leave those other builds for a follow-up. |
|
The proper tokens are still missing here for PyPI uploads, but let's also do that in a follow-up PR. I am going to merge this, to have the release workflow working again (and #1373 can be updated) |
The goal is here to make the wheel build and travis CIs pass.
Some open ends:
tests_shapelyandtests_pygeossubmodules for now?.travis.ymlpypi_password"secret" in Github Actions (see docs)BTW, I don't have manage privileges on this repo, is that correct @sgillies? I'd like to edit the ticket in #962 to reference this PR.