Skip to content

Commit 5f93a90

Browse files
authored
Merge pull request #268 from fireflyprotocol/andrew/python-version
Relaxes python version constraint.
2 parents d24580c + ea0f16a commit 5f93a90

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

python/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Bluefin Pro SDK
22

3-
## Install the SDK
3+
## Install the SDK
44
We will soon be publishing the library to a public repository on PyPI. For now, you can pull the code with github as sumbodule
55
and install it locally. To do this, run the following commands:
6-
```bash
7-
git submodule add git@github.com:fireflyprotocol/pro-sdk.git submodules/pro-sdk
6+
```bash
7+
git submodule add git@github.com:fireflyprotocol/pro-sdk.git submodules/pro-sdk
88
```
99

10-
NOTE: Due to a limitation you need to use python version `3.12` or older.
10+
NOTE: Due to a limitation you need to use python version `3.13` or older.
1111
then using pip, install the SDK locally here is example pip requirements.txt contents:
1212
```text
1313
./submodules/pro-sdk/python/sdk
@@ -32,12 +32,12 @@ requirements:
3232
# install poetry if needed.
3333
pipx install poetry
3434

35-
# Set it to use python3.12 (making sure you have python 3.12 installed).
36-
# If you don't have python 3.12 installed, you can use pyenv to install it:
37-
# pyenv install 3.12
35+
# Set it to use python3.13 (making sure you have python 3.13 installed).
36+
# If you don't have python 3.13 installed, you can use pyenv to install it:
37+
# pyenv install 3.13
3838

3939
# From the `python` directory, run the following commands:
40-
python3.12 -m venv .venv
40+
python3.13 -m venv .venv
4141
source .venv/bin/activate
4242
poetry install
4343
```
@@ -64,6 +64,6 @@ openapi-generator generate -i ../../resources/bluefin-api.yaml -c config.yaml -g
6464
This will:
6565

6666
1. Use the OpenAPI spec from ``../../resources/bluefin-api.yaml``
67-
2. Apply configuration from ``config.yaml``
67+
2. Apply configuration from ``config.yaml``
6868
3. Generate a Python client
6969
4. Output the generated code to the ``src`` directory

python/sdk/poetry.lock

Lines changed: 16 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
description = "Python Boilerplate contains all the boilerplate you need to create a Python package."
2121
name = "bluefin_pro_sdk"
2222
readme = "README.rst"
23-
requires-python = ">=3.9.2,<3.13.0"
23+
requires-python = ">=3.9.2,<3.14.0"
2424
version = "1.13.0"
2525

2626
[[project.authors]]

0 commit comments

Comments
 (0)