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
2 changes: 1 addition & 1 deletion .github/workflows/_codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uv venv
source .venv/bin/activate
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt

- name: Generate coverage report
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_futures_private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
uv venv
source .venv/bin/activate
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt

- name: Install package (Windows)
if: runner.os == 'Windows'
Expand All @@ -90,7 +90,7 @@ jobs:
.venv\Scripts\activate.ps1
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
uv pip install "$wheel[test]"
uv pip install $wheel -r requirements-dev.txt

- name: Testing Futures REST endpoints
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_futures_public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uv venv
source .venv/bin/activate
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt

- name: Install package (Windows)
if: runner.os == 'Windows'
Expand All @@ -76,7 +76,7 @@ jobs:
.venv\Scripts\activate.ps1
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
uv pip install "$wheel[test]"
uv pip install $wheel -r requirements-dev.txt

- name: Testing Futures REST endpoints
run: pytest -vv -m "futures and not futures_auth and not futures_websocket" tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_spot_private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
uv venv
source .venv/bin/activate
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt

- name: Install package (Windows)
if: runner.os == 'Windows'
Expand All @@ -88,7 +88,7 @@ jobs:
.venv\Scripts\activate.ps1
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
uv pip install "$wheel[test]"
uv pip install $wheel -r requirements-dev.txt

- name: Testing Spot REST endpoints
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_spot_public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
uv venv
source .venv/bin/activate
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt

- name: Install package (Windows)
if: runner.os == 'Windows'
Expand All @@ -77,7 +77,7 @@ jobs:
.venv\Scripts\activate.ps1
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
uv pip install "$wheel[test]"
uv pip install $wheel -r requirements-dev.txt

- name: Testing Spot REST endpoints
run: pytest -vv -m "spot and not spot_auth and not spot_websocket" tests
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [Unreleased](https://github.com/btschwertfeger/python-kraken-sdk/tree/HEAD)

[Full Changelog](https://github.com/btschwertfeger/python-kraken-sdk/compare/v3.2.5...HEAD)

Uncategorized merged pull requests:

- Bump the github-actions group with 5 updates [\#395](https://github.com/btschwertfeger/python-kraken-sdk/pull/395) ([dependabot[bot]](https://github.com/apps/dependabot))
- Update project configuration [\#394](https://github.com/btschwertfeger/python-kraken-sdk/pull/394) ([btschwertfeger](https://github.com/btschwertfeger))

## [v3.2.5](https://github.com/btschwertfeger/python-kraken-sdk/tree/v3.2.5) (2025-09-01)

[Full Changelog](https://github.com/btschwertfeger/python-kraken-sdk/compare/v3.2.4...v3.2.5)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ install: check-uv
##
.PHONY: dev
dev: check-uv
$(UV) pip install -e ".[test,examples,jupyter]" -r doc/requirements.txt
$(UV) pip install -e . -r requirements-dev.txt -r doc/requirements.txt

## ======= T E S T I N G =======================================================
## test Run the unit tests
Expand Down
7 changes: 6 additions & 1 deletion examples/market_client_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Plotting Market Data "
"# Plotting Market Data \n",
"\n",
"```bash\n",
"pip install matplotlib numpy pands ipykernel\n",
"python3 -m ipykernel install --user --name=kraken\n",
"```\n"
]
},
{
Expand Down
15 changes: 1 addition & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,6 @@ Documentation = "https://python-kraken-sdk.readthedocs.io/en/stable/"
Changelog = "https://github.com/btschwertfeger/python-kraken-sdk/releases"
"Bug Tracker" = "https://github.com/btschwertfeger/python-kraken-sdk/issues"

[project.optional-dependencies]
test = [
"proxy.py",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-retry",
"pytest-timeout",
"pytest",
]
examples = ["matplotlib", "pandas", "numpy"]
jupyter = ["ipykernel"] # python3 -m ipykernel install --user --name=kraken

[project.scripts]
kraken = "kraken.cli:cli"

Expand All @@ -82,7 +69,7 @@ include = ["kraken*"]
exclude = ["docs*", "tests*", "examples*", ".venv", ".env", ".cache", ".github"]

[tool.setuptools_scm]
write_to = "src/kraken/_version.py"
version_file = "src/kraken/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"

Expand Down
7 changes: 7 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
proxy.py
pytest
pytest-asyncio
pytest-cov
pytest-mock
pytest-retry
pytest-timeout
Loading