Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- next
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ubuntu-latest
runs-on: ${{ github.repository == 'stainless-sdks/solver-api-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

Expand All @@ -33,7 +33,7 @@ jobs:
test:
timeout-minutes: 10
name: test
runs-on: ubuntu-latest
runs-on: ${{ github.repository == 'stainless-sdks/solver-api-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to PyPI in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/Laredo-Labs/solverai-sdk-python/actions/workflows/publish-pypi.yml
name: Publish PyPI
on:
workflow_dispatch:

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Publish to PyPI
run: |
bash ./bin/publish-pypi
env:
PYPI_TOKEN: ${{ secrets.SOLVER_PYPI_TOKEN || secrets.PYPI_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release Doctor
on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'Laredo-Labs/solverai-sdk-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
PYPI_TOKEN: ${{ secrets.SOLVER_PYPI_TOKEN || secrets.PYPI_TOKEN }}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.0-alpha.1"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 15
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/solver-ai%2Fsolver-api-30a94cd12d5edc9db3d0fb471d522d687c4949b4c9cc1bdf1b1f062d6a329969.yml
openapi_spec_hash: d884b89ee925c4112c75e88e65acc65a
config_hash: ee8abb60a6d388a2faf9850fe05e2c4b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/solver-ai%2Fsolver-api-408c34dbecbdc0cedeeb15fe065582a1497991bc585000afe25bf2d62b8d663a.yml
openapi_spec_hash: f6806cce3b0e7dc1855a4ac92a71c2dd
config_hash: feaa57eb2464300a39a877a38ed85f68
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

## 0.1.0-alpha.1 (2025-04-25)

Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/Laredo-Labs/solverai-sdk-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)

### Features

* **api:** update via SDK Studio ([3581c64](https://github.com/Laredo-Labs/solverai-sdk-python/commit/3581c640b87cbe289efc4a7a08564a9ae411ca17))
* **api:** update via SDK Studio ([306cbd8](https://github.com/Laredo-Labs/solverai-sdk-python/commit/306cbd83a940dfe4b7ea7b5409942a9dd5ba033f))
* **api:** update via SDK Studio ([1e2eea0](https://github.com/Laredo-Labs/solverai-sdk-python/commit/1e2eea06cb5dc8c8064b4b270348f1314e8f888a))
* **api:** update via SDK Studio ([c4f07d8](https://github.com/Laredo-Labs/solverai-sdk-python/commit/c4f07d87fe333341decfc944f40ae50079b9f101))


### Bug Fixes

* **pydantic v1:** more robust ModelField.annotation check ([fb446a4](https://github.com/Laredo-Labs/solverai-sdk-python/commit/fb446a49433f676c32ed09594f436321db9f4fa3))


### Chores

* broadly detect json family of content-type headers ([8c7adce](https://github.com/Laredo-Labs/solverai-sdk-python/commit/8c7adced1025f48a09cc60f2192a389ae3cc0b57))
* **ci:** add timeout thresholds for CI jobs ([747d18f](https://github.com/Laredo-Labs/solverai-sdk-python/commit/747d18fec846fc3b1796be0cfb2a91a90683263b))
* **ci:** only use depot for staging repos ([0e13fdf](https://github.com/Laredo-Labs/solverai-sdk-python/commit/0e13fdfa795b2ceef2e7e242aa2c0d26ab0756ea))
* go live ([63ea47d](https://github.com/Laredo-Labs/solverai-sdk-python/commit/63ea47d9b6f641ff2779ea928839e7d2576f3a67))
* go live ([269266e](https://github.com/Laredo-Labs/solverai-sdk-python/commit/269266e5853b734ce774bd8660151d61bcb5337a))
* **internal:** codegen related update ([1f20bad](https://github.com/Laredo-Labs/solverai-sdk-python/commit/1f20badfb0ade74ed54828da3b702b369d4bcd71))
* **internal:** fix list file params ([22afcc8](https://github.com/Laredo-Labs/solverai-sdk-python/commit/22afcc855f286278595458214ad8ceca0d52f0a7))
* **internal:** import reformatting ([0e1374c](https://github.com/Laredo-Labs/solverai-sdk-python/commit/0e1374c790a7716b399cf597d826590aa18bf06e))
* **internal:** refactor retries to not use recursion ([4020e02](https://github.com/Laredo-Labs/solverai-sdk-python/commit/4020e0289602a18e861fe800a72937b46236fdad))
* update SDK settings ([99c7592](https://github.com/Laredo-Labs/solverai-sdk-python/commit/99c7592daee266b1807f019bd7d16d74e60d9379))
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $ pip install -r requirements-dev.lock

Most of the SDK is generated code. Modifications to code will be persisted between generations, but may
result in merge conflicts between manual patches and changes from the generator. The generator will never
modify the contents of the `src/solver_api/lib/` and `examples/` directories.
modify the contents of the `src/solverai/lib/` and `examples/` directories.

## Adding and running examples

Expand All @@ -63,7 +63,7 @@ If you’d like to use the repository from source, you can either install from g
To install via git:

```sh
$ pip install git+ssh://git@github.com/stainless-sdks/solver-api-python.git
$ pip install git+ssh://git@github.com/Laredo-Labs/solverai-sdk-python.git
```

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

### Publish with a GitHub workflow

You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/solver-api-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/Laredo-Labs/solverai-sdk-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.

### Publish manually

Expand Down
Loading
Loading