Skip to content
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

pypi upload workflow maintenance #5269

Merged
merged 3 commits into from
May 6, 2021
Merged

pypi upload workflow maintenance #5269

merged 3 commits into from
May 6, 2021

Conversation

keewis
Copy link
Collaborator

@keewis keewis commented May 6, 2021

follow-up to #5244: as far as I can tell, it does not run on tags. We also have to decide whether we want to fix uploading dev versions (i.e. new commits on master) because setuptools-scm creates versions which are rejected by PyPI.

cc @andersy005

  • Passes pre-commit run --all-files

@keewis
Copy link
Collaborator Author

keewis commented May 6, 2021

should we remove the push:branches trigger?

@andersy005
Copy link
Member

should we remove the push:branches trigger?

I think so

@keewis keewis requested a review from andersy005 May 6, 2021 15:30
Comment on lines 4 to +8
types:
- published
push:
branches:
- master
tags:
- 'v*'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will result in duplicate runs i.e. one for the push event and the release event... Do we want this duplication?

Copy link
Collaborator Author

@keewis keewis May 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's okay (intentional even), as long as we only upload to PyPI on release and to TestPyPI on push (not sure if I got that right, though).

@keewis keewis merged commit 10648cb into pydata:master May 6, 2021
@keewis keewis deleted the fix-pypi branch May 6, 2021 15:48
dcherian added a commit to matzegoebel/xarray that referenced this pull request May 13, 2021
* upstream/master: (23 commits)
  combine keep_attrs and combine_attrs in apply_ufunc (pydata#5041)
  Explained what a deprecation cycle is (pydata#5289)
  Code cleanup (pydata#5234)
  FacetGrid docstrings (pydata#5293)
  Add whats new for dataset interpolation with non-numerics (pydata#5297)
  Allow dataset interpolation with different datatypes (pydata#5008)
  Flexible indexes: add Index base class and xindexes properties (pydata#5102)
  pre-commit: autoupdate hook versions (pydata#5280)
  convert the examples for apply_ufunc to doctest (pydata#5279)
  fix the new whatsnew section
  Ensure `HighLevelGraph` layers are `Layer` instances (pydata#5271)
  New whatsnew section
  Release-workflow: Bug fix (pydata#5273)
  more maintenance on whats-new.rst (pydata#5272)
  v0.18.0 release highlights (pydata#5266)
  Fix exception when display_expand_data=False for file-backed array. (pydata#5235)
  Warn ignored keep attrs (pydata#5265)
  Disable workflows on forks (pydata#5267)
  fix the built wheel test (pydata#5270)
  pypi upload workflow maintenance (pydata#5269)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants