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

update deprecated pypi publish github action to new supported version #1595

Merged

Conversation

imatiach-msft
Copy link
Contributor

Description

The github action pypa/gh-action-pypi-publish@master has been deprecated and creates warnings in our release builds now like:
https://github.com/microsoft/responsible-ai-toolbox/actions/runs/2761435481
image

This PR updates to the new supported version of the github action as found in:
https://github.com/pypa/gh-action-pypi-publish
See section on "master branch sunset".
The new recommended version of the github action is:
pypa/gh-action-pypi-publish@release/v1

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@codecov-commenter
Copy link

Codecov Report

Merging #1595 (b0d3bb9) into main (ce77a5d) will decrease coverage by 0.94%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1595      +/-   ##
==========================================
- Coverage   86.24%   85.30%   -0.95%     
==========================================
  Files          47       57      +10     
  Lines        2647     2905     +258     
==========================================
+ Hits         2283     2478     +195     
- Misses        364      427      +63     
Flag Coverage Δ
unittests 85.30% <ø> (-0.95%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rai_core_flask/rai_core_flask/__init__.py 100.00% <0.00%> (ø)
...re_flask/environments/local_ipython_environment.py 88.88% <0.00%> (ø)
rai_core_flask/rai_core_flask/flask_helper.py 92.30% <0.00%> (ø)
...core_flask/rai_core_flask/environments/__init__.py 100.00% <0.00%> (ø)
...i_core_flask/environments/public_vm_environment.py 88.88% <0.00%> (ø)
...ai_core_flask/environments/azure_nb_environment.py 73.52% <0.00%> (ø)
..._flask/environments/credentialed_vm_environment.py 100.00% <0.00%> (ø)
..._core_flask/rai_core_flask/environment_detector.py 53.33% <0.00%> (ø)
..._core_flask/environments/databricks_environment.py 56.25% <0.00%> (ø)
...sk/rai_core_flask/environments/base_environment.py 57.14% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce77a5d...b0d3bb9. Read the comment docs.

@imatiach-msft imatiach-msft merged commit 3d55577 into main Aug 1, 2022
@imatiach-msft imatiach-msft deleted the ilmat/update-deprecated-github-action-pypi-publish branch August 1, 2022 16:52
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.

4 participants