Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ahouseholder
Copy link
Contributor

This pull request introduces several improvements to the development workflow, updates dependencies, and refactors tests for clarity and maintainability. The most significant changes include support for Python 3.13, enhanced Docker-based development and hot-reloading for the API, dependency updates, and test refactoring to streamline usage and assertions.

Development environment and workflow improvements:

  • Added README-DEV.md with clear instructions for running tests, demos, API, and docs in Docker containers, improving onboarding for developers.
  • Introduced new Makefile targets (api_dev, docker_api_dev) and Docker Compose service (api-dev) for running the API server in development mode with hot reloading and live code changes. [1] [2]
  • Added .dockerignore to optimize Docker builds by excluding unnecessary files and directories.

Dependency and environment updates:

  • Upgraded Python version to 3.13 in docker/Dockerfile and related configs, updated Black and target versions, and added/updated dependencies (fastapi, uvicorn, fixed pydantic version). [1] [2] [3] [4] [5] [6]

Docker Compose enhancements:

  • Added bind mounts for vultron and test directories in test and API-dev services for live code changes, and persistent virtual environment volume for development convenience. [1] [2]

Test refactoring and improvements:

  • Refactored test cases to use more generic and maintainable patterns, such as replacing specific CVSS pattern tests with a unified find_matches test, and updating actor activity tests for better validation and clarity. [1] [2] [3] [4]
  • Updated copyright years in test files and improved test code style and type annotations. [1] [2] [3] [4] [5] [6]

API and example test adjustments:

  • Updated example activity tests for consistency and correctness, including changes to assertions and removal of unused variables. [1] [2] [3] [4] [5] [6]

These changes collectively improve developer experience, code maintainability, and ensure compatibility with the latest Python and dependency versions.

… are different in JSON vs python for consistent round-trip between JSON and python
Squashed commits:
[5409ade] more linting
[fdd5e82] more linting
[d144e94] more linting
[a2c2826] more linting
[b9d78ea] more linting
[c74cbc4] more linting
[e44b8bc] more linting (+3 squashed commits)
Squashed commits:
[900c129] more linting
[b2fddc5] more linting (+6 squashed commits)
Squashed commits:
[2347994] more linting
[d4b857e] more linting
[b55a1f0] more linting
[882d7eb] more linting
[62d395c] more linting
[7403ba7] more linting
[a6ffad7] more linting (+1 squashed commit)
Squashed commits:
[7011d55] fix linter errors
# Conflicts:
#	vultron/as_vocab/base/base.py
#	vultron/as_vocab/base/objects/base.py
@ahouseholder ahouseholder changed the base branch from main to linting October 10, 2025 20:43
@ahouseholder ahouseholder changed the base branch from linting to main October 10, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant