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

[WIP] build: migrate to kokoro release #184

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
294 changes: 0 additions & 294 deletions .github/workflows/python-publish.yml

This file was deleted.

10 changes: 6 additions & 4 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /
# Disable buffering, so that the logs stream through.
export PYTHONUNBUFFERED=1

# Move into the package, build the distribution and upload.
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-1")
cd github/python-crc32c
python3 setup.py sdist bdist_wheel
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*
python3 setup.py sdist


# # Move into the package, build the distribution and upload.
# TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-1")
# twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*
1 change: 1 addition & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
excludes=[
".github/workflows",
".gitignore",
".kokoro/release.sh",
"CONTRIBUTING.rst",
"docs/**/*",
"MANIFEST.in",
Expand Down
6 changes: 6 additions & 0 deletions scripts/dev-requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
auditwheel >= 2.1.1; sys_platform == 'linux' or sys_platform == 'linux2'
delocate >= 0.8.0; sys_platform == 'darwin'
setuptools >= 42.0.2
# See: https://github.com/pypa/auditwheel/issues/102
wheel >= 0.34
cibuildwheel
65 changes: 60 additions & 5 deletions scripts/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
auditwheel >= 2.1.1; sys_platform == 'linux' or sys_platform == 'linux2'
delocate >= 0.8.0; sys_platform == 'darwin'
setuptools >= 42.0.2
# See: https://github.com/pypa/auditwheel/issues/102
wheel >= 0.34
#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --generate-hashes dev-requirements.in
#
auditwheel==5.4.0 ; sys_platform == "linux" or sys_platform == "linux2" \
--hash=sha256:aaf8153ab7a29cc99a663ce2498804daf1887ea1b7a3231ba0d3fee68a3ccf19 \
--hash=sha256:d8410a17523427ba3f7b60c9701d23de28b8f94fa5dab732aa6c30d160df8127
# via -r dev-requirements.in
bashlex==0.18 \
--hash=sha256:5bb03a01c6d5676338c36fd1028009c8ad07e7d61d8a1ce3f513b7fff52796ee \
--hash=sha256:91d73a23a3e51711919c1c899083890cdecffc91d8c088942725ac13e9dcfffa
# via cibuildwheel
bracex==2.4 \
--hash=sha256:a27eaf1df42cf561fed58b7a8f3fdf129d1ea16a81e1fadd1d17989bc6384beb \
--hash=sha256:efdc71eff95eaff5e0f8cfebe7d01adf2c8637c8c92edaf63ef348c241a82418
# via cibuildwheel
certifi==2023.11.17 \
--hash=sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1 \
--hash=sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474
# via cibuildwheel
cibuildwheel==2.16.2 \
--hash=sha256:0f3472a1b927786f74ed3843e78d7cb368a2daeb904503b2129276a23b22f7be \
--hash=sha256:bbc86ca937d81745f43ab28fd378bff1c1eaf390370c2f3a6e8224290a50127e
# via -r dev-requirements.in
filelock==3.13.1 \
--hash=sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e \
--hash=sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c
# via cibuildwheel
packaging==23.2 \
--hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \
--hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7
# via cibuildwheel
platformdirs==4.0.0 \
--hash=sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b \
--hash=sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731
# via cibuildwheel
pyelftools==0.30 \
--hash=sha256:2fc92b0d534f8b081f58c7c370967379123d8e00984deb53c209364efd575b40 \
--hash=sha256:544c3440eddb9a0dce70b6611de0b28163d71def759d2ed57a0d00118fc5da86
# via auditwheel
tomli==2.0.1 \
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
# via cibuildwheel
typing-extensions==4.8.0 \
--hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \
--hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef
# via cibuildwheel
wheel==0.41.3 \
--hash=sha256:488609bc63a29322326e05560731bf7bfea8e48ad646e1f5e40d366607de0942 \
--hash=sha256:4d4987ce51a49370ea65c0bfd2234e8ce80a12780820d9dc462597a6e60d0841
# via -r dev-requirements.in

# The following packages are considered to be unsafe in a requirements file:
setuptools==68.2.2 \
--hash=sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87 \
--hash=sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a
# via -r dev-requirements.in
3 changes: 2 additions & 1 deletion scripts/requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
setuptools
pip
wheel
cmake
cmake
cibuildwheel