Skip to content

Commit 2548aae

Browse files
committed
v1.1 update to have 3 requirements.txt
Now have basic requirements.txt, requirements-dev.txt for development.txt, and new requirements-codegen.txt for advanced development where raw clients, high level clients, or documentation needs to be regenerated
1 parent 2f279a8 commit 2548aae

File tree

3 files changed

+58
-34
lines changed

3 files changed

+58
-34
lines changed

requirements-codegen.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# python-alfresco-api v1.1 Code Generation Dependencies
2+
# Install with: pip install -r requirements-codegen.txt
3+
# Only needed for regenerating API clients from OpenAPI specs
4+
5+
# Include main runtime dependencies
6+
-r requirements.txt
7+
8+
# Code generation tools
9+
datamodel-code-generator[http]>=0.21.0 # For Pydantic model generation
10+
openapi-python-client>=0.15.0 # For HTTP client generation
11+
12+
# OpenAPI tools
13+
openapi-spec-validator>=0.6.0
14+
openapi3>=1.8.0
15+
openapi-schema-validator>=0.6.0
16+
17+
# YAML processing
18+
pyyaml>=6.0
19+
20+
# Utility tools for generation scripts
21+
jq>=1.6.0 # For JSON processing in scripts

requirements-dev.txt

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,35 @@
1-
# python-alfresco-api v1.0 Development Dependencies
2-
# Dependencies for package regeneration and development
1+
# python-alfresco-api v1.1 Development Dependencies
2+
# Install with: pip install -r requirements-dev.txt
33

4-
# Include runtime dependencies
4+
# Include main runtime dependencies
55
-r requirements.txt
66

7-
# Code generation tools
8-
datamodel-code-generator[http]>=0.21.0 # For Pydantic model generation
9-
openapi-python-client>=0.15.0 # For HTTP client generation
10-
11-
# OpenAPI tools
12-
openapi-spec-validator>=0.6.0
13-
openapi3>=1.8.0
14-
openapi-schema-validator>=0.6.0
15-
pyyaml>=6.0
16-
17-
# Development tools
18-
black>=23.0.0 # Code formatting
19-
isort>=5.12.0 # Import sorting
20-
mypy>=1.5.0 # Type checking
21-
flake8>=6.0.0 # Linting
22-
23-
# Testing
7+
# Testing framework and async support
248
pytest>=7.4.0
259
pytest-asyncio>=0.21.0
10+
pytest-mock>=3.12.0
2611
pytest-cov>=4.1.0
27-
pytest-mock>=3.11.0
2812
requests-mock>=1.11.0
2913

30-
# Documentation
31-
mkdocs>=1.5.0
32-
mkdocs-material>=9.0.0
14+
# Code coverage
15+
coverage>=7.3.0
16+
17+
# Code formatting and linting
18+
black>=23.0.0
19+
mypy>=1.5.0
20+
flake8>=6.0.0
21+
isort>=5.12.0
3322

3423
# Build tools
3524
build>=0.10.0
3625
twine>=4.0.0
37-
setuptools>=68.0.0
3826
wheel>=0.41.0
27+
setuptools>=68.0.0
28+
29+
# Documentation
30+
sphinx>=7.1.0
31+
mkdocs>=1.5.0
32+
mkdocs-material>=9.0.0
3933

40-
# Utility tools
41-
jq>=1.6.0 # For JSON processing in scripts
34+
# Development utilities
35+
ipython>=8.15.0

requirements.txt

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
1-
# python-alfresco-api v1.0 Runtime Dependencies
1+
# python-alfresco-api v1.1 Runtime Dependencies
22
# Core dependencies for production use
33

44
# HTTP client libraries
5+
httpx>=0.25.0
56
requests>=2.31.0
6-
httpx>=0.24.0
77
aiohttp>=3.8.0
88

99
# Data validation and serialization
1010
pydantic>=2.0.0,<3.0.0
11+
attrs>=23.1.0
1112

12-
# Optional event system dependencies
13-
stomp.py>=8.1.0 # For ActiveMQ integration (optional)
13+
# Date handling
14+
python-dateutil>=2.8.0
15+
16+
# Type hints support for older Python versions
17+
typing-extensions>=4.7.0
18+
19+
# Configuration
20+
PyYAML>=6.0
21+
22+
# Event system dependencies
23+
stomp.py>=8.1.0 # For ActiveMQ integration
24+
25+
# Async testing support moved to requirements-dev.txt
1426

1527
# Async support (built into Python 3.8+)
1628
# asyncio is built-in, no external package needed
1729

18-
# Type hints support for older Python versions
19-
typing-extensions>=4.0.0
20-
2130
# JSON handling
2231
ujson>=5.7.0 # Fast JSON parsing (optional but recommended)
2332

0 commit comments

Comments
 (0)