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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ by running;
```bash
# Install in current environment.
# Recommend to have virtual environment installed at .venv path.
pip install -r requirements-dev.txt
pip install -e .
# Dependency groups need pip 25.1+.
python -m pip install "pip>=25.1"
pip install -e . --group dev
```

From there to run the basic tests run;
Expand Down
4 changes: 3 additions & 1 deletion build_helpers/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ lib::setup::python_requirements() {
--verbose

echo "Installing dev dependencies"
python -m pip install -r requirements-dev.txt
# --group needs pip 25.1+ (PEP 735)
python -m pip install "pip>=25.1"
python -m pip install --group dev

if [ x"${GITHUB_ACTIONS}" = "xtrue" ]; then
echo "::endgroup::"
Expand Down
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ kerberos = ["pyspnego[kerberos]"]
[project.urls]
homepage = "https://github.com/jborean93/smbprotocol"

[dependency-groups]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
]
lint = [
"black == 26.3.1",
"isort == 8.0.1",
"pre-commit",
]
dev = [
{include-group = "test"},
{include-group = "lint"},
]

[tool.setuptools.packages.find]
where = ["src"]

Expand Down
9 changes: 0 additions & 9 deletions requirements-dev.txt

This file was deleted.

Loading