Skip to content

Added pypi workflow #136

Merged
chinmayshah99 merged 49 commits intoOpenMined:devfrom
chinmayshah99:pypi_final
May 11, 2020
Merged

Added pypi workflow #136
chinmayshah99 merged 49 commits intoOpenMined:devfrom
chinmayshah99:pypi_final

Conversation

@chinmayshah99
Copy link
Copy Markdown
Member

@chinmayshah99 chinmayshah99 commented May 11, 2020

Description

Finished pypi auto-release via github actions

Fixes #113

Partial issue #111 , #119

Type of change

Please mark options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

NovaVic and others added 30 commits May 2, 2020 23:25
At some point it should be linked to real PyPI server
instead of the test one.

Also have to uncomment the `on tag` to rebuild and push only when
a new release  is tagged/made.
Add CENTOS 6 compliant  bazel build to workflow
@chinmayshah99 chinmayshah99 requested a review from youben11 May 11, 2020 03:39
@chinmayshah99 chinmayshah99 changed the title Pypi final Added pypi workflow May 11, 2020
Comment on lines +40 to +43
wget https://github.com/bazelbuild/bazel/releases/download/2.1.0/bazel-2.1.0-installer-linux-x86_64.sh

chmod +x bazel-2.1.0-installer-linux-x86_64.sh
./bazel-2.1.0-installer-linux-x86_64.sh --user
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you require a specific version of bazel? Bazel 3.0 is installed on Ubuntu 18.06

Copy link
Copy Markdown
Member Author

@chinmayshah99 chinmayshah99 May 11, 2020

Choose a reason for hiding this comment

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

We have tested with this bazel version(2.1). Any upgrade in bazel versions needs to be tested

Comment on lines +58 to +60
- name: Renaming wheel
run: |
find . -name '*linux*.whl' -type f -exec bash -c 'mv "$1" "${1/linux/manylinux1}"' -- {} \;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't agree that renaming is the way to go here, you should be using the auditwheel package for compliance, it might break on some systems.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The package is manylinux1 compliant. So adding it here.
But in the meantime, we are in the process of looking for a permanent solution.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi there ,

@chinmayshah99 let’s open an issue as it is a good practise to normally use auditwheel to publish on PyPi.

It will enable to keep track or the changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, let's do this. Are you creating an issue?

not needed.
@chinmayshah99
Copy link
Copy Markdown
Member Author

Squashing this as it's 48 commits

@chinmayshah99 chinmayshah99 merged commit 6e6c9b7 into OpenMined:dev May 11, 2020
@chinmayshah99 chinmayshah99 mentioned this pull request May 29, 2020
4 tasks
dvadym pushed a commit to dvadym/PyDP that referenced this pull request Jul 3, 2022
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.

PyDP does not work on python 3,5, 3.7

5 participants