Skip to content

Commit a21d759

Browse files
Extract dev dependencies
1 parent 62eacf5 commit a21d759

File tree

10 files changed

+33
-25
lines changed

10 files changed

+33
-25
lines changed

.github/workflows/_codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
uv venv
7676
source .venv/bin/activate
7777
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
78-
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
78+
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt
7979
8080
- name: Generate coverage report
8181
env:

.github/workflows/_test_futures_private.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
uv venv
8282
source .venv/bin/activate
8383
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
84-
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
84+
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt
8585
8686
- name: Install package (Windows)
8787
if: runner.os == 'Windows'
@@ -90,7 +90,7 @@ jobs:
9090
.venv\Scripts\activate.ps1
9191
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
9292
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
93-
uv pip install "$wheel[test]"
93+
uv pip install $wheel -r requirements-dev.txt
9494
9595
- name: Testing Futures REST endpoints
9696
env:

.github/workflows/_test_futures_public.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uv venv
6868
source .venv/bin/activate
6969
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
70-
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
70+
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt
7171
7272
- name: Install package (Windows)
7373
if: runner.os == 'Windows'
@@ -76,7 +76,7 @@ jobs:
7676
.venv\Scripts\activate.ps1
7777
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7878
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
79-
uv pip install "$wheel[test]"
79+
uv pip install $wheel -r requirements-dev.txt
8080
8181
- name: Testing Futures REST endpoints
8282
run: pytest -vv -m "futures and not futures_auth and not futures_websocket" tests

.github/workflows/_test_spot_private.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
uv venv
8080
source .venv/bin/activate
8181
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
82-
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
82+
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt
8383
8484
- name: Install package (Windows)
8585
if: runner.os == 'Windows'
@@ -88,7 +88,7 @@ jobs:
8888
.venv\Scripts\activate.ps1
8989
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
9090
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
91-
uv pip install "$wheel[test]"
91+
uv pip install $wheel -r requirements-dev.txt
9292
9393
- name: Testing Spot REST endpoints
9494
env:

.github/workflows/_test_spot_public.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
uv venv
6969
source .venv/bin/activate
7070
echo ${GITHUB_WORKSPACE}/.venv/bin >> $GITHUB_PATH
71-
uv pip install "$(find dist -name '*.whl' | head -1)[test]"
71+
uv pip install "$(find dist -name '*.whl' | head -1)" -r requirements-dev.txt
7272
7373
- name: Install package (Windows)
7474
if: runner.os == 'Windows'
@@ -77,7 +77,7 @@ jobs:
7777
.venv\Scripts\activate.ps1
7878
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7979
$wheel = (Get-ChildItem -Path dist -Filter "*.whl" | Select-Object -First 1).FullName
80-
uv pip install "$wheel[test]"
80+
uv pip install $wheel -r requirements-dev.txt
8181
8282
- name: Testing Spot REST endpoints
8383
run: pytest -vv -m "spot and not spot_auth and not spot_websocket" tests

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [Unreleased](https://github.com/btschwertfeger/python-kraken-sdk/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/btschwertfeger/python-kraken-sdk/compare/v3.2.5...HEAD)
6+
7+
Uncategorized merged pull requests:
8+
9+
- 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))
10+
- Update project configuration [\#394](https://github.com/btschwertfeger/python-kraken-sdk/pull/394) ([btschwertfeger](https://github.com/btschwertfeger))
11+
312
## [v3.2.5](https://github.com/btschwertfeger/python-kraken-sdk/tree/v3.2.5) (2025-09-01)
413

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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ install: check-uv
4949
##
5050
.PHONY: dev
5151
dev: check-uv
52-
$(UV) pip install -e ".[test,examples,jupyter]" -r doc/requirements.txt
52+
$(UV) pip install -e . -r requirements-dev.txt -r doc/requirements.txt
5353

5454
## ======= T E S T I N G =======================================================
5555
## test Run the unit tests

examples/market_client_example.ipynb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
"cell_type": "markdown",
66
"metadata": {},
77
"source": [
8-
"# Plotting Market Data "
8+
"# Plotting Market Data \n",
9+
"\n",
10+
"```bash\n",
11+
"pip install matplotlib numpy pands ipykernel\n",
12+
"python3 -m ipykernel install --user --name=kraken\n",
13+
"```\n"
914
]
1015
},
1116
{

pyproject.toml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,6 @@ Documentation = "https://python-kraken-sdk.readthedocs.io/en/stable/"
5656
Changelog = "https://github.com/btschwertfeger/python-kraken-sdk/releases"
5757
"Bug Tracker" = "https://github.com/btschwertfeger/python-kraken-sdk/issues"
5858

59-
[project.optional-dependencies]
60-
test = [
61-
"proxy.py",
62-
"pytest-asyncio",
63-
"pytest-cov",
64-
"pytest-mock",
65-
"pytest-retry",
66-
"pytest-timeout",
67-
"pytest",
68-
]
69-
examples = ["matplotlib", "pandas", "numpy"]
70-
jupyter = ["ipykernel"] # python3 -m ipykernel install --user --name=kraken
71-
7259
[project.scripts]
7360
kraken = "kraken.cli:cli"
7461

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

8471
[tool.setuptools_scm]
85-
write_to = "src/kraken/_version.py"
72+
version_file = "src/kraken/_version.py"
8673
version_scheme = "guess-next-dev"
8774
local_scheme = "no-local-version"
8875

requirements-dev.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
proxy.py
2+
pytest
3+
pytest-asyncio
4+
pytest-cov
5+
pytest-mock
6+
pytest-retry
7+
pytest-timeout

0 commit comments

Comments
 (0)