From e567e5b001dd9755f4ff6f5040639054d73e25a7 Mon Sep 17 00:00:00 2001 From: Eli Bishop Date: Wed, 20 Nov 2024 14:52:08 -0800 Subject: [PATCH 1/2] eng: set version to 2.0.0-alpha.1, update metadata & docs BNCH-112051 --- README.md | 13 ++++++++----- pyproject.toml | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 871f3a296..5176daa63 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ -![Run Checks](https://github.com/openapi-generators/openapi-python-client/workflows/Run%20Checks/badge.svg) -[![codecov](https://codecov.io/gh/openapi-generators/openapi-python-client/branch/main/graph/badge.svg)](https://codecov.io/gh/triaxtec/openapi-python-client) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/) -[![Generic badge](https://img.shields.io/badge/type_checked-mypy-informational.svg)](https://mypy.readthedocs.io/en/stable/introduction.html) -[![PyPI version shields.io](https://img.shields.io/pypi/v/openapi-python-client.svg)](https://pypi.python.org/pypi/openapi-python-client/) -[![Downloads](https://static.pepy.tech/personalized-badge/openapi-python-client?period=total&units=international_system&left_color=blue&right_color=green&left_text=Downloads)](https://pepy.tech/project/openapi-python-client) + +# Note: this is the fork of openapi-python-client maintained and used by Benchling. + +If you want the official package, go to the upstream repository: https://github.com/openapi-generators/openapi-python-client + +The rest of this file is a copy of the upstream README, except for descriptions of extra options added in the Benchling fork. All other Benchling-specific notes are in our internal documentation. + +Benchling cannot provide any support for external use of this fork. # openapi-python-client diff --git a/pyproject.toml b/pyproject.toml index a3909f909..1f2032b6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [project] authors = [ { name = "Dylan Anthony", email = "contact@dylananthony.com" }, + { name = "Benchling Support", email = "support@benchling.com" }, ] license = { text = "MIT" } requires-python = ">=3.8.1,<4.0" @@ -18,7 +19,7 @@ dependencies = [ "typing-extensions>=4.8.0,<5.0.0", ] name = "openapi-python-client" -version = "0.21.6" +version = "2.0.0-alpha.1" description = "Generate modern Python clients from OpenAPI" keywords = [ "OpenAPI", From 29a34755752915caabe655f5fa00b418015cb1b8 Mon Sep 17 00:00:00 2001 From: Eli Bishop Date: Wed, 20 Nov 2024 15:20:24 -0800 Subject: [PATCH 2/2] update GitHub config --- .github/workflows/checks.yml | 4 ++-- .github/workflows/release.yml | 23 ----------------------- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7be761ebf..43b143f08 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,9 +2,9 @@ name: Run Checks on: push: - branches: [ "2.x" ] + branches: [ "prod/2.x" ] pull_request: - branches: [ "2.x" ] + branches: [ "prod/2.x" ] merge_group: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index bd34b1c41..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Release - -on: - pull_request: - types: [closed] - branches: [main] - -jobs: - release: - if: github.head_ref == 'knope/release' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - permissions: - id-token: write - steps: - - uses: actions/checkout@v4.2.2 - - name: Install Hatchling - run: pip install --upgrade hatchling - - name: Build - run: hatchling build - - name: Push to PyPI - uses: pypa/gh-action-pypi-publish@v1.10.3 - with: - attestations: true