File tree Expand file tree Collapse file tree 9 files changed +10
-52
lines changed Expand file tree Collapse file tree 9 files changed +10
-52
lines changed Original file line number Diff line number Diff line change 1212 lint :
1313 name : lint
1414 runs-on : ubuntu-latest
15- if : github.repository == 'openai/openai-python'
1615
1716 steps :
1817 - uses : actions/checkout@v4
3433 test :
3534 name : test
3635 runs-on : ubuntu-latest
37- if : github.repository == 'openai/openai-python'
3836
3937 steps :
4038 - uses : actions/checkout@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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/openai/openai-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/openai/openai-python/actions/workflows/publish-pypi.yml
34name : Publish PyPI
45on :
56 workflow_dispatch :
67
8+ release :
9+ types : [published]
10+
711jobs :
812 publish :
913 name : publish
Original file line number Diff line number Diff line change 1919 run : |
2020 bash ./bin/check-release-environment
2121 env :
22- STAINLESS_API_KEY : ${{ secrets.STAINLESS_API_KEY }}
2322 PYPI_TOKEN : ${{ secrets.OPENAI_PYPI_TOKEN || secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "." : " 1.30.1 "
2+ "." : " 1.66.3 "
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 81
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai -c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml
Original file line number Diff line number Diff line change 22
33errors=()
44
5- if [ -z " ${STAINLESS_API_KEY} " ]; then
6- 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." )
7- fi
8-
95if [ -z " ${PYPI_TOKEN} " ]; then
106 errors+=(" The OPENAI_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets." )
117fi
Original file line number Diff line number Diff line change 11[project ]
22name = " openai"
3- version = " 1.30.1 "
3+ version = " 1.66.3 "
44description = " The official Python library for the openai API"
55dynamic = [" readme" ]
66license = " Apache-2.0"
Original file line number Diff line number Diff line change 11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
33__title__ = "openai"
4- __version__ = "1.30.1 " # x-release-please-version
4+ __version__ = "1.66.3 " # x-release-please-version
You can’t perform that action at this time.
0 commit comments