🚧 Add requirements files
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Development / test dependencies for wago-modbustcp-simulator.
|
||||
# Mirrors [project.optional-dependencies].dev in pyproject.toml.
|
||||
# Includes everything from requirements.txt, plus:
|
||||
# - pytest / pytest-asyncio: test suite
|
||||
# - pymodbus: integration tests acting as a real Modbus TCP master
|
||||
# - debugpy: VS Code debugging setup
|
||||
# - httpx: ASGI test client for the FastAPI Web UI
|
||||
# Fully pinned versions for reproducible installs: requirements-lock.txt.
|
||||
-r requirements.txt
|
||||
pytest>=8.0
|
||||
pytest-asyncio>=0.23
|
||||
pymodbus>=3.6
|
||||
debugpy>=1.8
|
||||
httpx>=0.27
|
||||
@@ -0,0 +1,45 @@
|
||||
# Locked dependency versions for wago-modbustcp-simulator.
|
||||
# Generated 2026-10-05 from the tested .venv (Python 3.14.5, Windows).
|
||||
# Install exactly; do not edit by hand. Regenerate with:
|
||||
# pip install -r requirements.txt
|
||||
# pip freeze --exclude-editable > requirements-lock.txt
|
||||
# (then re-add the section comments below).
|
||||
#
|
||||
# Sections mirror pyproject.toml [project].dependencies (production) and
|
||||
# [project.optional-dependencies].dev (dev/test) — the same package set
|
||||
# pip freeze would emit, just organized for review.
|
||||
|
||||
# --- Production (pyproject [project].dependencies) ---
|
||||
pyyaml==6.0.3
|
||||
fastapi==0.142.2
|
||||
uvicorn==0.54.0
|
||||
websockets==17.2
|
||||
# Transitive production dependencies
|
||||
annotated-doc==0.0.5
|
||||
annotated-types==0.8.0
|
||||
anyio==4.15.1
|
||||
opentelemetry-api==1.45.0
|
||||
click==8.5.0
|
||||
h11==0.16.0
|
||||
pydantic==2.13.5
|
||||
pydantic-core==2.46.5
|
||||
starlette==1.7.0
|
||||
typing-extensions==4.16.0
|
||||
typing-inspection==0.4.4
|
||||
# anyio (required unconditionally by starlette) pulls idna
|
||||
idna==3.20
|
||||
|
||||
# --- Dev / test (pyproject [project.optional-dependencies].dev) ---
|
||||
pytest==9.1.1
|
||||
pytest-asyncio==1.4.0
|
||||
pymodbus==3.15.0
|
||||
debugpy==1.8.22
|
||||
httpx==0.28.1
|
||||
# Transitive dev/test dependencies
|
||||
certifi==2026.7.22
|
||||
httpcore==1.0.9
|
||||
iniconfig==2.3.0
|
||||
packaging==26.3
|
||||
pluggy==1.6.0
|
||||
pygments==2.21.0
|
||||
colorama==0.4.6; sys_platform == "win32" # pytest dep on Windows only
|
||||
@@ -0,0 +1,11 @@
|
||||
# Production runtime dependencies for wago-modbustcp-simulator.
|
||||
# Mirrors [project].dependencies in pyproject.toml — the set that
|
||||
# `pip install .` (and the Docker image) actually needs:
|
||||
# - PyYAML: node config / scenario DSL files
|
||||
# - fastapi + uvicorn + websockets: optional Web UI (serve --web)
|
||||
# Development and test dependencies live in requirements-dev.txt.
|
||||
# Fully pinned versions for reproducible installs: requirements-lock.txt.
|
||||
PyYAML>=6.0
|
||||
fastapi>=0.110
|
||||
uvicorn>=0.29
|
||||
websockets>=12.0
|
||||
Reference in New Issue
Block a user