Skip to content

Commit 68a97b6

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore: go live (#2)
1 parent 77a5255 commit 68a97b6

File tree

8 files changed

+16
-80
lines changed

8 files changed

+16
-80
lines changed

.github/workflows/create-releases.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/handle-release-pr-title-edit.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/publish-pypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# workflow for re-running publishing to PyPI in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/undefined/unitycatalog-python/actions/workflows/publish-pypi.yml
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/samster25/unitycatalog-python/actions/workflows/publish-pypi.yml
34
name: Publish PyPI
45
on:
56
workflow_dispatch:
67

8+
release:
9+
types: [published]
10+
711
jobs:
812
publish:
913
name: publish

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
release_doctor:
88
name: release doctor
99
runs-on: ubuntu-latest
10-
if: github.repository == 'undefined/unitycatalog-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
10+
if: github.repository == 'samster25/unitycatalog-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1111

1212
steps:
1313
- uses: actions/checkout@v4
@@ -16,5 +16,4 @@ jobs:
1616
run: |
1717
bash ./bin/check-release-environment
1818
env:
19-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2019
PYPI_TOKEN: ${{ secrets.UNITYCATALOG_PYPI_TOKEN || secrets.PYPI_TOKEN }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ If you’d like to use the repository from source, you can either install from g
5959
To install via git:
6060

6161
```bash
62-
pip install git+ssh://[email protected]/undefined/unitycatalog-python.git
62+
pip install git+ssh://[email protected]/samster25/unitycatalog-python.git
6363
```
6464

6565
Alternatively, you can build from source and install the wheel file:
@@ -117,7 +117,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
117117

118118
### Publish with a GitHub workflow
119119

120-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/undefined/unitycatalog-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
120+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/samster25/unitycatalog-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
121121

122122
### Publish manually
123123

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The REST API documentation can be found [on docs.unitycatalog.com](https://docs.
1616

1717
```sh
1818
# install from the production repo
19-
pip install git+ssh://[email protected]/undefined/unitycatalog-python.git
19+
pip install git+ssh://[email protected]/samster25/unitycatalog-python.git
2020
```
2121

2222
> [!NOTE]
@@ -205,9 +205,9 @@ catalog = response.parse() # get the object that `catalogs.create()` would have
205205
print(catalog.id)
206206
```
207207

208-
These methods return an [`APIResponse`](https://github.com/undefined/unitycatalog-python/tree/main/src/unitycatalog/_response.py) object.
208+
These methods return an [`APIResponse`](https://github.com/samster25/unitycatalog-python/tree/main/src/unitycatalog/_response.py) object.
209209

210-
The async client returns an [`AsyncAPIResponse`](https://github.com/undefined/unitycatalog-python/tree/main/src/unitycatalog/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
210+
The async client returns an [`AsyncAPIResponse`](https://github.com/samster25/unitycatalog-python/tree/main/src/unitycatalog/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
211211

212212
#### `.with_streaming_response`
213213

@@ -297,7 +297,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
297297

298298
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
299299

300-
We are keen for your feedback; please open an [issue](https://www.github.com/undefined/unitycatalog-python/issues) with questions, bugs, or suggestions.
300+
We are keen for your feedback; please open an [issue](https://www.github.com/samster25/unitycatalog-python/issues) with questions, bugs, or suggestions.
301301

302302
## Requirements
303303

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
warnings=()
44
errors=()
55

6-
if [ -z "${STAINLESS_API_KEY}" ]; then
7-
errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
8-
fi
9-
106
if [ -z "${PYPI_TOKEN}" ]; then
117
warnings+=("The UNITYCATALOG_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
128
fi

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ classifiers = [
3939

4040

4141
[project.urls]
42-
Homepage = "https://github.com/undefined/unitycatalog-python"
43-
Repository = "https://github.com/undefined/unitycatalog-python"
42+
Homepage = "https://github.com/samster25/unitycatalog-python"
43+
Repository = "https://github.com/samster25/unitycatalog-python"
4444

4545

4646

@@ -108,7 +108,7 @@ path = "README.md"
108108
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
109109
# replace relative links with absolute links
110110
pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)'
111-
replacement = '[\1](https://github.com/undefined/unitycatalog-python/tree/main/\g<2>)'
111+
replacement = '[\1](https://github.com/samster25/unitycatalog-python/tree/main/\g<2>)'
112112

113113
[tool.black]
114114
line-length = 120

0 commit comments

Comments
 (0)