This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new 00bd7c5 Continued work on linting action.
00bd7c5 is described below
commit 00bd7c59f5104c76bdc381b727d27e61c0faf4ec
Author: Greg Stein <[email protected]>
AuthorDate: Tue Sep 30 14:57:09 2025 -0500
Continued work on linting action.
---
.github/workflows/linting.yml | 9 ++++++++-
v3/pyproject.toml | 5 +++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index bfadc37..b86d0d6 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -31,13 +31,20 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+ - name: Cache Poetry dependencies
+ uses: actions/cache@v4
+ with:
+ path: ~/.cache/pypoetry
+ key: ${{ runner.os }}-poetry-${{ hashFiles('v3/pyproject.toml') }}
+ restore-keys: |
+ ${{ runner.os }}-poetry-
- name: Install Poetry
run: |
python -m pip install poetry
- name: Install dependencies
working-directory: v3 # Set the working directory to v3 where
pyproject.toml is located
run: |
- poetry install
+ poetry install --with test,server
- name: Testing with pylint
working-directory: v3 # Ensure pylint runs in the correct directory
run: |
diff --git a/v3/pyproject.toml b/v3/pyproject.toml
index 6c508c2..b11691b 100644
--- a/v3/pyproject.toml
+++ b/v3/pyproject.toml
@@ -6,6 +6,7 @@ authors = ["Apache STeVe Community <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/apache/steve"
+packages = [{include = "steve"}]
[tool.poetry.dependencies]
python = "^3.10"
@@ -23,6 +24,10 @@ pylint = "^3.3.8"
[tool.poetry.group.server.dependencies]
asfquart = ">=0.1.12"
+[tool.poetry.extras]
+server = ["asfquart", ] # Core dependencies for apache-steve[server]
+test = ["coverage", "pylint"] # Core dependencies for apache-steve[test]
+
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"