Repository navigation
build and publish figures on pypi - #372
Merged
Merged
Conversation
OmarIthawi
commented
Jun 12, 2021
OmarIthawi
commented
Jun 12, 2021
OmarIthawi
commented
Jun 12, 2021
OmarIthawi
commented
Jun 12, 2021
OmarIthawi
requested review from
estherjsuh,
grozdanowski,
iamjazzar,
johnbaldwin,
melvinsoft and
thraxil
June 12, 2021 21:14
thraxil
approved these changes
Jun 14, 2021
OmarIthawi
commented
Jun 14, 2021
johnbaldwin
reviewed
Jun 14, 2021
| label: `${course.name} | ${course.number} | ${course.id}`, | ||
| name: course.name, | ||
| number: course.number, | ||
| id: course.id, |
Contributor
Author
johnbaldwin
approved these changes
Jun 14, 2021
johnbaldwin
left a comment
Contributor
There was a problem hiding this comment.
Yay @OmarIthawi ! Really looking forward to getting this tested with PyPI. Since we've not been deploying to PyPI for our releases and PyPI just has an 0.4.0 release from Dec 2020, I'd say it would be find to iterate to push a series of 0.4.0.devX versions. This is exciting!
those lint warnings turns into errors when running the lint in on the GitHub Actions due to the CI=true environment variable being set to true
This has been made from the Figures build and release steps in our confluence docs. This is still in testing and it's good not to mess up the Figures PyPI so this action will only publish `.dev` releases as described in the setuptools of Python: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries One this is tested and working, we'll publish for all releases. This will enable a GitHub-based workflow which is completely different from the previous command line based one: - Update the version in the `setup.py` and make a PR - Merge the release bump PR - Publish a release on GitHub (done via the GUI) - The release is published automatically on PyPI The workflow above is different from our [PyPI release Runbook](https://appsembler.atlassian.net/wiki/spaces/ED/pages/41550165/New+PyPI+release).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is an initial attempt to publish figures on pypi.
It'll probably not work so I've committed the publish step just to make sure the build can be done.
@johnbaldwin I hope this will be a pleasant surprise for you when you're back 🙂
This has been made from the Figures build and release steps in our confluence docs.
Publish only
1.2.3.dev1releasesThis is still in testing and it's good not to mess up the Figures PyPI so this action will only publish
.devreleases as described in the setuptools of Python: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registriesOne this is tested and working, we'll publish for all releases.
Proposed workflow
This will enable a GitHub-based workflow which is completely different from the previous command line based one:
setup.pyand make a PRThe workflow above is different from our PyPI release Runbook.