Skip to content

Commit 8677c8f

Browse files
rjohanekraejohanek
andauthored
[DC-1546] TDR Python Client - [PyPI] Address deprecation notice for 'data-repo-client' (#2018)
* change name of client --------- Co-authored-by: Rae Johanek <rjohanek@broadinstitute.org>
1 parent 7e541e2 commit 8677c8f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/release-python-client.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Publish a corresponding version of Python client to
2-
## https://pypi.org/project/data-repo-client/
2+
## https://pypi.org/project/data_repo_client/
33
##
4-
## To manage the data-repo-client project in PyPi, you must have a PyPi account
4+
## To manage the data_repo_client project in PyPi, you must have a PyPi account
55
## and be added as an owner to the project by a current owner.
66

77
name: Publish Python 🐍 distributions 📦 to PyPI
@@ -47,21 +47,21 @@ jobs:
4747
openapi-generator-cli generate \
4848
-i src/main/resources/api/data-repository-openapi.yaml \
4949
-g python \
50-
-o data-repo-client \
51-
--additional-properties=projectName=data-repo-client,packageName=data_repo_client,packageVersion=${CURRENT_SEMVER},useSpringBoot3=true \
50+
-o data_repo_client \
51+
--additional-properties=projectName=data_repo_client,packageName=data_repo_client,packageVersion=${CURRENT_SEMVER},useSpringBoot3=true \
5252
--skip-validate-spec
5353
- name: Install pypa/build
54-
working-directory: ./data-repo-client
54+
working-directory: ./data_repo_client
5555
run: >-
5656
python -m pip install build --user
5757
- name: Build a binary wheel and a source tarball
58-
working-directory: ./data-repo-client
58+
working-directory: ./data_repo_client
5959
run: >-
6060
python -m build --sdist --wheel --outdir dist/ .
6161
- name: Publish distribution 📦 to PyPI
6262
uses: pypa/gh-action-pypi-publish@release/v1
6363
with:
64-
packages_dir: ./data-repo-client/dist
64+
packages_dir: ./data_repo_client/dist
6565
skip_existing: true
6666
report-workflow:
6767
uses: broadinstitute/sherlock/.github/workflows/client-report-workflow.yaml@main
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data-repo-client>=2.280.0
1+
data_repo_client>=2.280.0
22
google-cloud-bigquery
33
google-cloud-secret-manager
44
parameterized
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
data-repo-client>=2.287.0
1+
data_repo_client>=2.287.0
22
google-cloud-bigquery
33
protobuf
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
data-repo-client>=2.114.0
1+
data_repo_client>=2.114.0
22
google-cloud-bigquery
33
protobuf

0 commit comments

Comments
 (0)