Skip to content

Commit ab6f1ed

Browse files
authored
Merge pull request #5 from pilottai/bug/python-version-update
dependency version upgrade
2 parents 4d49ff6 + e8d203f commit ab6f1ed

3 files changed

Lines changed: 32 additions & 14 deletions

File tree

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM python:3.10-slim
2+
3+
# Install Poetry
4+
RUN pip install poetry
5+
6+
# Set working directory
7+
WORKDIR /pilottai-tools
8+
9+
# Copy and install dependencies
10+
COPY pyproject.toml poetry.lock* ./
11+
RUN poetry install --no-root
12+
13+
# Copy source code
14+
COPY . .
15+
16+
# Install the framework itself
17+
RUN poetry install
18+
19+
# Default command shows the version
20+
CMD ["python", "-c", "import pilottai_tools; print(pilottai_tools.__version__)"]

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pilottai-tools"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
6-
requires-python = ">=3.10"
6+
requires-python = ">=3.10,<4.0"
77
dependencies = [
88
"pydantic>=2.11.7",
99
"python-docx>=1.2.0",
@@ -18,10 +18,12 @@ dependencies = [
1818
"opencv-python>=4.12.0.88",
1919
"neo4j>=5.28.1",
2020
"pilottai>=0.2.7.36",
21+
"mkdocs-material>=9.6.15",
22+
"black>=25.1.0",
2123
]
2224

2325
[project.optional-dependencies]
24-
docs = ["python-docx", "redis", "mkdocs", "mkdocs-material", "black", "ruff", "pytest", "pre-commit"]
26+
docs = ["python-docx", "mkdocs", "mkdocs-material", "black", "ruff", "pytest", "pre-commit"]
2527
dev = ["black", "ruff", "pytest", "pre-commit"]
2628
image = ["pillow>=11.3.0", "numpy>=2.2.6", "opencv-python>=4.12.0.88",]
2729
web = ["beautifulsoup4>=4.13.4", "aiohttp>=3.12.14",]

uv.lock

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

0 commit comments

Comments
 (0)