testudos 0.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- testudos-0.10.0/.github/workflows/ci.yml +162 -0
- testudos-0.10.0/.github/workflows/python-publish.yml +70 -0
- testudos-0.10.0/.gitignore +207 -0
- testudos-0.10.0/CHANGELOG.md +150 -0
- testudos-0.10.0/LICENSE +21 -0
- testudos-0.10.0/PKG-INFO +269 -0
- testudos-0.10.0/README.md +233 -0
- testudos-0.10.0/docs/ARCHITECTURE.md +724 -0
- testudos-0.10.0/docs/DESIGN_DECISIONS.md +236 -0
- testudos-0.10.0/docs/IMPLEMENTATION_ROADMAP.md +391 -0
- testudos-0.10.0/docs/MULTI_PACKAGE_DESIGN.md +202 -0
- testudos-0.10.0/justfile +32 -0
- testudos-0.10.0/pyproject.toml +90 -0
- testudos-0.10.0/scripts/check_version_bump.py +164 -0
- testudos-0.10.0/src/testudos/__init__.py +101 -0
- testudos-0.10.0/src/testudos/cli.py +1063 -0
- testudos-0.10.0/src/testudos/config.py +255 -0
- testudos-0.10.0/src/testudos/coverage.py +504 -0
- testudos-0.10.0/src/testudos/executor.py +494 -0
- testudos-0.10.0/src/testudos/multi_runner.py +241 -0
- testudos-0.10.0/src/testudos/python_version.py +134 -0
- testudos-0.10.0/src/testudos/runner.py +290 -0
- testudos-0.10.0/src/testudos/ui.py +441 -0
- testudos-0.10.0/src/testudos/versions.py +346 -0
- testudos-0.10.0/src/testudos/workspace.py +321 -0
- testudos-0.10.0/tests/test_cli.py +527 -0
- testudos-0.10.0/tests/test_config.py +116 -0
- testudos-0.10.0/tests/test_coverage.py +315 -0
- testudos-0.10.0/tests/test_executor.py +575 -0
- testudos-0.10.0/tests/test_integration.py +459 -0
- testudos-0.10.0/tests/test_multi_package_ui.py +293 -0
- testudos-0.10.0/tests/test_multi_runner.py +224 -0
- testudos-0.10.0/tests/test_python_version.py +176 -0
- testudos-0.10.0/tests/test_versions.py +251 -0
- testudos-0.10.0/tests/test_workspace.py +385 -0
- testudos-0.10.0/uv.lock +617 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths:
|
|
7
|
+
- 'src/**'
|
|
8
|
+
- 'tests/**'
|
|
9
|
+
- 'scripts/**'
|
|
10
|
+
- 'pyproject.toml'
|
|
11
|
+
- 'uv.lock'
|
|
12
|
+
- '.github/workflows/**'
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [main]
|
|
15
|
+
paths:
|
|
16
|
+
- 'src/**'
|
|
17
|
+
- 'tests/**'
|
|
18
|
+
- 'scripts/**'
|
|
19
|
+
- 'pyproject.toml'
|
|
20
|
+
- 'uv.lock'
|
|
21
|
+
- '.github/workflows/**'
|
|
22
|
+
|
|
23
|
+
# Cancel in-progress runs for the same branch
|
|
24
|
+
concurrency:
|
|
25
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
26
|
+
cancel-in-progress: true
|
|
27
|
+
|
|
28
|
+
jobs:
|
|
29
|
+
version-check:
|
|
30
|
+
name: Version Check
|
|
31
|
+
if: github.event_name == 'pull_request'
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
steps:
|
|
34
|
+
- uses: actions/checkout@v4
|
|
35
|
+
with:
|
|
36
|
+
fetch-depth: 0 # Need full history to compare with main
|
|
37
|
+
|
|
38
|
+
- name: Install uv
|
|
39
|
+
uses: astral-sh/setup-uv@v4
|
|
40
|
+
|
|
41
|
+
- name: Check version bump
|
|
42
|
+
run: uv run scripts/check_version_bump.py
|
|
43
|
+
|
|
44
|
+
lint:
|
|
45
|
+
name: Lint
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
|
|
50
|
+
- name: Install uv
|
|
51
|
+
uses: astral-sh/setup-uv@v4
|
|
52
|
+
with:
|
|
53
|
+
enable-cache: true
|
|
54
|
+
|
|
55
|
+
- name: Set up Python
|
|
56
|
+
run: uv python install 3.13
|
|
57
|
+
|
|
58
|
+
- name: Install dependencies
|
|
59
|
+
run: uv sync --extra dev
|
|
60
|
+
|
|
61
|
+
- name: Run ruff check
|
|
62
|
+
run: uv run ruff check src tests
|
|
63
|
+
|
|
64
|
+
- name: Run ruff format check
|
|
65
|
+
run: uv run ruff format --check src tests
|
|
66
|
+
|
|
67
|
+
type-check:
|
|
68
|
+
name: Type Check
|
|
69
|
+
runs-on: ubuntu-latest
|
|
70
|
+
steps:
|
|
71
|
+
- uses: actions/checkout@v4
|
|
72
|
+
|
|
73
|
+
- name: Install uv
|
|
74
|
+
uses: astral-sh/setup-uv@v4
|
|
75
|
+
with:
|
|
76
|
+
enable-cache: true
|
|
77
|
+
|
|
78
|
+
- name: Set up Python
|
|
79
|
+
run: uv python install 3.13
|
|
80
|
+
|
|
81
|
+
- name: Install dependencies
|
|
82
|
+
run: uv sync --extra dev
|
|
83
|
+
|
|
84
|
+
- name: Run mypy
|
|
85
|
+
run: uv run mypy src
|
|
86
|
+
|
|
87
|
+
test:
|
|
88
|
+
name: Test (Python ${{ matrix.python-version }})
|
|
89
|
+
needs: [lint, type-check]
|
|
90
|
+
runs-on: ubuntu-latest
|
|
91
|
+
strategy:
|
|
92
|
+
fail-fast: true
|
|
93
|
+
matrix:
|
|
94
|
+
# Full matrix on main, oldest supported version on PRs
|
|
95
|
+
python-version: ${{ github.ref == 'refs/heads/main' && fromJson('["3.10", "3.11", "3.12", "3.13"]') || fromJson('["3.10"]') }}
|
|
96
|
+
steps:
|
|
97
|
+
- uses: actions/checkout@v4
|
|
98
|
+
|
|
99
|
+
- name: Install uv
|
|
100
|
+
uses: astral-sh/setup-uv@v4
|
|
101
|
+
with:
|
|
102
|
+
enable-cache: true
|
|
103
|
+
|
|
104
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
105
|
+
run: uv python install ${{ matrix.python-version }}
|
|
106
|
+
|
|
107
|
+
- name: Install dependencies
|
|
108
|
+
run: uv sync --extra dev
|
|
109
|
+
|
|
110
|
+
- name: Run tests with coverage
|
|
111
|
+
run: uv run pytest --cov=src/testudos --cov-report=xml --cov-report=term-missing
|
|
112
|
+
|
|
113
|
+
- name: Upload coverage to Codecov
|
|
114
|
+
if: matrix.python-version == '3.13'
|
|
115
|
+
uses: codecov/codecov-action@v5
|
|
116
|
+
with:
|
|
117
|
+
files: ./coverage.xml
|
|
118
|
+
fail_ci_if_error: false
|
|
119
|
+
verbose: true
|
|
120
|
+
|
|
121
|
+
dogfood:
|
|
122
|
+
name: Self-Test (Dogfooding)
|
|
123
|
+
if: github.ref == 'refs/heads/main'
|
|
124
|
+
needs: test
|
|
125
|
+
runs-on: ubuntu-latest
|
|
126
|
+
steps:
|
|
127
|
+
- uses: actions/checkout@v4
|
|
128
|
+
|
|
129
|
+
- name: Install uv
|
|
130
|
+
uses: astral-sh/setup-uv@v4
|
|
131
|
+
with:
|
|
132
|
+
enable-cache: true
|
|
133
|
+
|
|
134
|
+
- name: Set up Python versions
|
|
135
|
+
run: |
|
|
136
|
+
uv python install 3.11
|
|
137
|
+
uv python install 3.12
|
|
138
|
+
uv python install 3.13
|
|
139
|
+
|
|
140
|
+
- name: Install testudos
|
|
141
|
+
run: uv sync --extra dev
|
|
142
|
+
|
|
143
|
+
- name: Run testudos on itself
|
|
144
|
+
run: uv run testudos run --parallel
|
|
145
|
+
|
|
146
|
+
status-check:
|
|
147
|
+
name: Status Check
|
|
148
|
+
if: always()
|
|
149
|
+
needs: [version-check, lint, type-check, test, dogfood]
|
|
150
|
+
runs-on: ubuntu-latest
|
|
151
|
+
steps:
|
|
152
|
+
- name: Check all jobs passed
|
|
153
|
+
run: |
|
|
154
|
+
if [[ "${{ needs.version-check.result }}" != "success" && "${{ needs.version-check.result }}" != "skipped" ]] || \
|
|
155
|
+
[[ "${{ needs.lint.result }}" != "success" ]] || \
|
|
156
|
+
[[ "${{ needs.type-check.result }}" != "success" ]] || \
|
|
157
|
+
[[ "${{ needs.test.result }}" != "success" ]] || \
|
|
158
|
+
[[ "${{ needs.dogfood.result }}" != "success" && "${{ needs.dogfood.result }}" != "skipped" ]]; then
|
|
159
|
+
echo "One or more jobs failed"
|
|
160
|
+
exit 1
|
|
161
|
+
fi
|
|
162
|
+
echo "All jobs passed successfully"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# This workflow will upload a Python Package to PyPI when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
|
|
9
|
+
name: Upload Python Package
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
release:
|
|
13
|
+
types: [published]
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
release-build:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.x"
|
|
28
|
+
|
|
29
|
+
- name: Build release distributions
|
|
30
|
+
run: |
|
|
31
|
+
# NOTE: put your own distribution build steps here.
|
|
32
|
+
python -m pip install build
|
|
33
|
+
python -m build
|
|
34
|
+
|
|
35
|
+
- name: Upload distributions
|
|
36
|
+
uses: actions/upload-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: release-dists
|
|
39
|
+
path: dist/
|
|
40
|
+
|
|
41
|
+
pypi-publish:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
needs:
|
|
44
|
+
- release-build
|
|
45
|
+
permissions:
|
|
46
|
+
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
47
|
+
id-token: write
|
|
48
|
+
|
|
49
|
+
# Dedicated environments with protections for publishing are strongly recommended.
|
|
50
|
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
|
|
51
|
+
environment:
|
|
52
|
+
name: pypi
|
|
53
|
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
|
|
54
|
+
url: https://pypi.org/p/testudos
|
|
55
|
+
#
|
|
56
|
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
|
|
57
|
+
# ALTERNATIVE: exactly, uncomment the following line instead:
|
|
58
|
+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
|
|
59
|
+
|
|
60
|
+
steps:
|
|
61
|
+
- name: Retrieve release distributions
|
|
62
|
+
uses: actions/download-artifact@v4
|
|
63
|
+
with:
|
|
64
|
+
name: release-dists
|
|
65
|
+
path: dist/
|
|
66
|
+
|
|
67
|
+
- name: Publish release distributions to PyPI
|
|
68
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
69
|
+
with:
|
|
70
|
+
packages-dir: dist/
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
#poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
#pdm.lock
|
|
116
|
+
#pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
#pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# SageMath parsed files
|
|
135
|
+
*.sage.py
|
|
136
|
+
|
|
137
|
+
# Environments
|
|
138
|
+
.env
|
|
139
|
+
.envrc
|
|
140
|
+
.venv
|
|
141
|
+
env/
|
|
142
|
+
venv/
|
|
143
|
+
ENV/
|
|
144
|
+
env.bak/
|
|
145
|
+
venv.bak/
|
|
146
|
+
|
|
147
|
+
# Spyder project settings
|
|
148
|
+
.spyderproject
|
|
149
|
+
.spyproject
|
|
150
|
+
|
|
151
|
+
# Rope project settings
|
|
152
|
+
.ropeproject
|
|
153
|
+
|
|
154
|
+
# mkdocs documentation
|
|
155
|
+
/site
|
|
156
|
+
|
|
157
|
+
# mypy
|
|
158
|
+
.mypy_cache/
|
|
159
|
+
.dmypy.json
|
|
160
|
+
dmypy.json
|
|
161
|
+
|
|
162
|
+
# Pyre type checker
|
|
163
|
+
.pyre/
|
|
164
|
+
|
|
165
|
+
# pytype static type analyzer
|
|
166
|
+
.pytype/
|
|
167
|
+
|
|
168
|
+
# Cython debug symbols
|
|
169
|
+
cython_debug/
|
|
170
|
+
|
|
171
|
+
# PyCharm
|
|
172
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
173
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
174
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
175
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
176
|
+
#.idea/
|
|
177
|
+
|
|
178
|
+
# Abstra
|
|
179
|
+
# Abstra is an AI-powered process automation framework.
|
|
180
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
181
|
+
# Learn more at https://abstra.io/docs
|
|
182
|
+
.abstra/
|
|
183
|
+
|
|
184
|
+
# Visual Studio Code
|
|
185
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
186
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
188
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
189
|
+
# .vscode/
|
|
190
|
+
|
|
191
|
+
# Ruff stuff:
|
|
192
|
+
.ruff_cache/
|
|
193
|
+
|
|
194
|
+
# PyPI configuration file
|
|
195
|
+
.pypirc
|
|
196
|
+
|
|
197
|
+
# Cursor
|
|
198
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
199
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
200
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
201
|
+
.cursorignore
|
|
202
|
+
.cursorindexingignore
|
|
203
|
+
|
|
204
|
+
# Marimo
|
|
205
|
+
marimo/_static/
|
|
206
|
+
marimo/_lsp/
|
|
207
|
+
__marimo__/
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
## [0.10.0] - 2025-12-27
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Renamed project to testudos
|
|
11
|
+
|
|
12
|
+
## [0.9.0] - 2025-12-27
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- Strict mypy configuration with comprehensive type checking (resolves #27)
|
|
16
|
+
- Version bump validation script (`scripts/check_version_bump.py`)
|
|
17
|
+
- CI job to enforce version bump and changelog updates on PRs
|
|
18
|
+
- `just check-version` recipe for local validation
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Migrated parallel execution to use only asyncio, removing ThreadPoolExecutor (resolves #19)
|
|
22
|
+
- `run_tests_parallel` replaced by `run_tests_parallel_async` in public API
|
|
23
|
+
- `runner.run()` now uses `asyncio.run()` internally for parallel execution
|
|
24
|
+
|
|
25
|
+
### Removed
|
|
26
|
+
- `run_tests_parallel` function (use `run_tests_parallel_async` instead)
|
|
27
|
+
- `concurrent.futures` dependency for parallel execution
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- Type errors across codebase to satisfy strict mypy checks
|
|
31
|
+
- Added proper type annotations to nested async functions
|
|
32
|
+
|
|
33
|
+
## [0.8.0] - 2025-12-27
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- GitHub Actions CI/CD workflow with lint, type-check, and test jobs
|
|
37
|
+
- Status check job for branch protection
|
|
38
|
+
- Local `justfile` for running CI commands during development
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
- CI runs lint and type-check in parallel for faster feedback
|
|
42
|
+
- Optimized CI to reduce unnecessary workflow runs
|
|
43
|
+
|
|
44
|
+
## [0.7.0] - 2025-12-27
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
- Python 3.10 support - expanded compatibility from 3.11+ to 3.10+
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
- Updated `requires-python` to `>=3.10`
|
|
51
|
+
- Added `tomli` as conditional dependency for Python < 3.11
|
|
52
|
+
|
|
53
|
+
## [0.6.0] - 2025-12-27
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
- Multi-package parallelism support for monorepos and workspaces
|
|
57
|
+
- `multi_runner` module for coordinating tests across multiple packages
|
|
58
|
+
- Enhanced UI for multi-package test progress display
|
|
59
|
+
|
|
60
|
+
## [0.5.0] - 2025-12-26
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
- Removed `just` integration in favor of native testudos commands
|
|
64
|
+
- Simplified CLI interface - testudos now handles all commands directly
|
|
65
|
+
|
|
66
|
+
### Removed
|
|
67
|
+
- Justfile generation feature (Phase 4 functionality)
|
|
68
|
+
- `testudos generate` command
|
|
69
|
+
|
|
70
|
+
### Dependencies
|
|
71
|
+
- Bumped `typer` to >=0.21.0
|
|
72
|
+
- Bumped `rich` to >=14.0.0
|
|
73
|
+
- Bumped `httpx` to >=0.28.0
|
|
74
|
+
- Bumped `packaging` to >=25.0
|
|
75
|
+
- Bumped `pytest` to >=9.0.0
|
|
76
|
+
- Bumped `coverage` to >=7.13.0
|
|
77
|
+
|
|
78
|
+
## [0.4.0] - 2025-12-26
|
|
79
|
+
|
|
80
|
+
### Added
|
|
81
|
+
- Coverage aggregation across Python versions
|
|
82
|
+
- `testudos run --coverage` flag for collecting coverage data
|
|
83
|
+
- `testudos coverage combine` command for merging coverage from multiple versions
|
|
84
|
+
- `testudos coverage report` command with multiple format support (term, html, xml, json, lcov)
|
|
85
|
+
- `testudos coverage clean` command for removing coverage artifacts
|
|
86
|
+
- `--coverage-report` option for specifying report formats
|
|
87
|
+
- `--coverage-fail-under` option for enforcing coverage thresholds
|
|
88
|
+
- Coverage configuration options in `[tool.testudos]`
|
|
89
|
+
|
|
90
|
+
## [0.3.0] - 2025-12-26
|
|
91
|
+
|
|
92
|
+
### Changed
|
|
93
|
+
- Migrated parallel test execution from `ThreadPoolExecutor` to `asyncio`
|
|
94
|
+
- Improved architecture based on code review feedback
|
|
95
|
+
- Enhanced module separation and responsibility boundaries
|
|
96
|
+
|
|
97
|
+
### Fixed
|
|
98
|
+
- Various architectural improvements for better maintainability
|
|
99
|
+
|
|
100
|
+
## [0.2.0] - 2025-12-26
|
|
101
|
+
|
|
102
|
+
### Added
|
|
103
|
+
- Justfile generation for test commands (later removed in 0.5.0)
|
|
104
|
+
- Comprehensive test suite with high coverage
|
|
105
|
+
- Configuration validation with schema checking
|
|
106
|
+
- Input validation for safe command construction
|
|
107
|
+
- Warning system for unknown configuration keys
|
|
108
|
+
|
|
109
|
+
### Changed
|
|
110
|
+
- Polish and refinements across all modules
|
|
111
|
+
- Improved error messages and user feedback
|
|
112
|
+
- Enhanced documentation
|
|
113
|
+
|
|
114
|
+
## [0.1.0] - 2025-12-26
|
|
115
|
+
|
|
116
|
+
### Added
|
|
117
|
+
- Initial release of testudos
|
|
118
|
+
- Core Python version detection from `pyproject.toml` `requires-python` field
|
|
119
|
+
- Automatic fetching of supported Python versions from endoflife.date API
|
|
120
|
+
- 24-hour TTL caching for API responses with offline fallback
|
|
121
|
+
- Sequential test execution across Python versions
|
|
122
|
+
- Parallel test execution with `--parallel` / `-P` flag
|
|
123
|
+
- `--jobs` / `-j` option to limit parallel workers
|
|
124
|
+
- `--fail-fast` / `-f` flag to stop on first failure
|
|
125
|
+
- `--verbose` / `-v` flag for detailed output
|
|
126
|
+
- `--dry-run` / `-n` flag to preview commands
|
|
127
|
+
- `testudos run` command for executing tests
|
|
128
|
+
- `testudos versions` command to display compatible Python versions
|
|
129
|
+
- Configuration via `[tool.testudos]` in `pyproject.toml`
|
|
130
|
+
- Rich terminal UI with progress display
|
|
131
|
+
- Support for custom test commands and arguments
|
|
132
|
+
|
|
133
|
+
## [0.0.1] - 2025-12-18
|
|
134
|
+
|
|
135
|
+
### Added
|
|
136
|
+
- Initial project setup
|
|
137
|
+
- MIT License
|
|
138
|
+
- Architecture documentation and implementation roadmap
|
|
139
|
+
- Design decisions document
|
|
140
|
+
|
|
141
|
+
[0.9.0]: https://github.com/martinristovski/testudoss/compare/v0.8.0...v0.9.0
|
|
142
|
+
[0.8.0]: https://github.com/martinristovski/testudoss/compare/v0.7.0...v0.8.0
|
|
143
|
+
[0.7.0]: https://github.com/martinristovski/testudoss/compare/v0.6.0...v0.7.0
|
|
144
|
+
[0.6.0]: https://github.com/martinristovski/testudoss/compare/v0.5.0...v0.6.0
|
|
145
|
+
[0.5.0]: https://github.com/martinristovski/testudoss/compare/v0.4.0...v0.5.0
|
|
146
|
+
[0.4.0]: https://github.com/martinristovski/testudoss/compare/v0.3.0...v0.4.0
|
|
147
|
+
[0.3.0]: https://github.com/martinristovski/testudoss/compare/v0.2.0...v0.3.0
|
|
148
|
+
[0.2.0]: https://github.com/martinristovski/testudoss/compare/v0.1.0...v0.2.0
|
|
149
|
+
[0.1.0]: https://github.com/martinristovski/testudoss/compare/v0.0.1...v0.1.0
|
|
150
|
+
[0.0.1]: https://github.com/martinristovski/testudoss/releases/tag/v0.0.1
|
testudos-0.10.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Martin Ristovski
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|