-
Notifications
You must be signed in to change notification settings - Fork 29
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
Travis -> GitHub workflows #113
Travis -> GitHub workflows #113
Conversation
@GeorgianaElena I've added a pypi_password in this repo as a github repo secret you can reference like @minrk has done in jupyterhub/oauthenticator! Thanks for your work on this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work on this, thanks for your patience with my review comments @GeorgianaElena!
Thanks for taking the time to review this @consideRatio ❤️ Your reviews are always an opportunity to learn about a lot. I believe there's still a couple of things left to fix:
What do you think? |
Do you mean that if we add the tags condition, we won't run tests on pushes of tags not having a version constraint? I think that is fine. I suggest to have the build package step as part of a test in the test suite, duplicated from the publishing workflow. If it is part of the publishing workflow that always run, I know that for me, it force me to inspect "did it REALLY publish, or did it just run the build package steps?" whenever I really want to know if it actually published during release. My wishes in order of importance
If 2-4 would add notable complexity or similar, I'd personally prefer to not bother about them. I have only felt the need to test the packaging part when I develop the CI for the packaging part, and even then, a test would not capture the validity of environment variables for deployment keys to PyPI etc. |
Build errorI think it is caused doing - name: Install build package
run: |
python -m pip install --upgrade setuptools pip
pip install build
pip freeze
- name: Build release
run: |
python -m build --sdist --wheel .
ls -l dist README badgeThe README contain a badge pointing to travis still. Here is a badge in markdown for you to use, note it reference a specific workflow, and it contains the case-sensitive URL encoded name of the workflow which is currently
|
f0f1ce2
to
2813f19
Compare
595ba7b
to
64b2d14
Compare
Thanks for the feedback @consideRatio. I added a few commits in which:
New observation: What do you think @consideRatio ? Is there anything else I could do to improve this PR? |
I'm not knowledgable about pyproject.toml, but I think it could make more sense to remove the dedicated installation step of
Sounds good!
No =) Give the pyproject.toml part a think and then merge when have considered it :D |
I spent a few hours fighting with It's related to PEP 517 and/or PEP 518. From my limited understanding whether or not you need the build dependencies in |
Thanks a lot @manics for pointing me in the right direction ❤️ The duplicate error was from the Thanks a lot for your help @consideRatio and @manics. I'm going to merge this now. |
No description provided.