winipedia-utils 0.5.18__py3-none-any.whl → 0.5.19__py3-none-any.whl
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.
Potentially problematic release.
This version of winipedia-utils might be problematic. Click here for more details.
- winipedia_utils/git/github/workflows/base/base.py +1 -0
- {winipedia_utils-0.5.18.dist-info → winipedia_utils-0.5.19.dist-info}/METADATA +36 -4
- {winipedia_utils-0.5.18.dist-info → winipedia_utils-0.5.19.dist-info}/RECORD +5 -5
- {winipedia_utils-0.5.18.dist-info → winipedia_utils-0.5.19.dist-info}/WHEEL +0 -0
- {winipedia_utils-0.5.18.dist-info → winipedia_utils-0.5.19.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: winipedia-utils
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.19
|
|
4
4
|
Summary: A package with many utility functions
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -105,7 +105,7 @@ The setup creates the following configuration files:
|
|
|
105
105
|
- `.pre-commit-config.yaml` - Pre-commit hook configuration
|
|
106
106
|
- `.gitignore` - Git ignore rules (assumes you added one on GitHub before.)
|
|
107
107
|
- `pyproject.toml` - Project configuration with Poetry settings
|
|
108
|
-
- `.github/workflows/health_check.yaml` - Health check workflow (Runs on every push and pull request
|
|
108
|
+
- `.github/workflows/health_check.yaml` - Health check workflow (Runs on every push and pull request using a matrix strategy to test across multiple operating systems and Python versions)
|
|
109
109
|
- `.github/workflows/release.yaml` - Release workflow (Creates a release on GitHub when the same actions as in health check pass and commits are pushed to main)
|
|
110
110
|
- `.github/workflows/publish.yaml` - Publishing workflow (Publishes to PyPI when a release is created by the release workflow, if you use this workflow, you need to add a PYPI_TOKEN (named PYPI_TOKEN) to your GitHub secrets that has write access to the package on PyPI.)
|
|
111
111
|
- `py.typed` - PEP 561 marker for type hints
|
|
@@ -114,6 +114,38 @@ The setup creates the following configuration files:
|
|
|
114
114
|
- `conftest.py` - Pytest configuration file
|
|
115
115
|
- `.python-version` - Python version file for pyenv (if you use pyenv, puts in the lowest supported python version in pyproject.toml opposed to the latest possible python version in workflows)
|
|
116
116
|
|
|
117
|
+
### GitHub Workflows and Matrix Strategy
|
|
118
|
+
|
|
119
|
+
The project uses GitHub Actions workflows with a **matrix strategy** to ensure cross-platform compatibility:
|
|
120
|
+
|
|
121
|
+
#### Matrix Configuration
|
|
122
|
+
|
|
123
|
+
The health check and release workflows test your code across:
|
|
124
|
+
- **Operating Systems**: Ubuntu (latest), Windows (latest), macOS (latest)
|
|
125
|
+
- **Python Versions**: All versions specified in your `pyproject.toml` (e.g., 3.12, 3.13, 3.14)
|
|
126
|
+
|
|
127
|
+
This matrix strategy ensures your code works reliably across different environments before merging or releasing.
|
|
128
|
+
|
|
129
|
+
#### Workflow Structure
|
|
130
|
+
|
|
131
|
+
The health check workflow consists of two jobs:
|
|
132
|
+
|
|
133
|
+
1. **Matrix Job** (`health_check_matrix`) - Runs all checks in parallel across the matrix of OS and Python versions:
|
|
134
|
+
- Checkout repository
|
|
135
|
+
- Setup Git, Python, and Poetry
|
|
136
|
+
- Add Poetry to PATH (Windows-specific step)
|
|
137
|
+
- Install dependencies
|
|
138
|
+
- Setup CI keyring
|
|
139
|
+
- Protect repository (applies branch protection rules)
|
|
140
|
+
- Run pre-commit hooks (linting, formatting, type checking, security, tests)
|
|
141
|
+
|
|
142
|
+
2. **Aggregation Job** (`health_check`) - Aggregates matrix results into a single status check:
|
|
143
|
+
- Required for branch protection compatibility
|
|
144
|
+
- Only runs after all matrix jobs complete successfully
|
|
145
|
+
- Provides a single status check that can be marked as required in branch protection rules
|
|
146
|
+
|
|
147
|
+
The release workflow extends the health check workflow and adds a release job that runs after all health checks pass.
|
|
148
|
+
|
|
117
149
|
### Pre-commit Hook Workflow
|
|
118
150
|
|
|
119
151
|
When you commit code using `git commit`, the following checks run automatically:
|
|
@@ -203,8 +235,8 @@ A ruleset named `main protection` is created for the `main` branch with the foll
|
|
|
203
235
|
- Requires review thread resolution (all comments in reviews must be resolved before merge)
|
|
204
236
|
- Allowed merge methods: `squash` and `rebase` (no merge commits, keeps history clean)
|
|
205
237
|
- **Required Status Checks:**
|
|
206
|
-
- Strict mode enabled (all status checks must pass on the latest commit, not older ones
|
|
207
|
-
- Health check workflow must pass (the
|
|
238
|
+
- Strict mode enabled (all status checks must pass on the latest commit, not older ones)
|
|
239
|
+
- Health check workflow must pass (the aggregated `health_check` job ensures all matrix combinations passed successfully)
|
|
208
240
|
- **Bypass Actors** - Repository admins can bypass all rules (for emergency situations)
|
|
209
241
|
|
|
210
242
|
## Utilities
|
|
@@ -16,7 +16,7 @@ winipedia_utils/git/github/repo/protect.py,sha256=nOVjb5GVinGIClp7k9_qqgKnAl_gk1
|
|
|
16
16
|
winipedia_utils/git/github/repo/repo.py,sha256=OqoOfqDhe_Iik71dNqi4h3fGrMno33hSjk0bpNg3eZk,7865
|
|
17
17
|
winipedia_utils/git/github/workflows/__init__.py,sha256=BPdntTwFEyBMJ6MyT7gddPHswvRdH9tsRtfK72VSV7Y,57
|
|
18
18
|
winipedia_utils/git/github/workflows/base/__init__.py,sha256=XHsbmjiaGom-KX-S3leCY9cJD3aP9p_0X6xYMcdkHBU,23
|
|
19
|
-
winipedia_utils/git/github/workflows/base/base.py,sha256=
|
|
19
|
+
winipedia_utils/git/github/workflows/base/base.py,sha256=K8Lb19clzaw35YCXHFJ7BVKqeI8bkqDtA-4aSjxl9LM,12770
|
|
20
20
|
winipedia_utils/git/github/workflows/health_check.py,sha256=rSz3cV5xEgMIV-SaAjKBonucS_xqz1-t9FUDUbctRy8,2523
|
|
21
21
|
winipedia_utils/git/github/workflows/publish.py,sha256=TPbSp5QH2vVl55UdqE_kjf1HIkdubcgqWlkLjWFX5EA,1378
|
|
22
22
|
winipedia_utils/git/github/workflows/release.py,sha256=GkObB3LcH9J-L9dWhK5N3aowggGFu3kvmEFKHmILBu4,1456
|
|
@@ -89,7 +89,7 @@ winipedia_utils/testing/tests/conftest.py,sha256=BLgUJtLecOwuEsIyJ__0buqovd5AhiG
|
|
|
89
89
|
winipedia_utils/text/__init__.py,sha256=j2bwtK6kyeHI6SnoBjpRju0C1W2n2paXBDlNjNtaUxA,48
|
|
90
90
|
winipedia_utils/text/config.py,sha256=jjKmn-tSbyaK6jGL0FxFHSREP6A6V1ZSX3RuIgvQ4io,7794
|
|
91
91
|
winipedia_utils/text/string.py,sha256=yXmwOab5hXyVQG1NwlWDpy2prj0U7Vb2F5HKLT2Y77Q,3382
|
|
92
|
-
winipedia_utils-0.5.
|
|
93
|
-
winipedia_utils-0.5.
|
|
94
|
-
winipedia_utils-0.5.
|
|
95
|
-
winipedia_utils-0.5.
|
|
92
|
+
winipedia_utils-0.5.19.dist-info/METADATA,sha256=idQGJhJSW-FtOVp7Jcph48nrILgsorcLdUy_k5wLz3Q,16129
|
|
93
|
+
winipedia_utils-0.5.19.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
94
|
+
winipedia_utils-0.5.19.dist-info/licenses/LICENSE,sha256=o316mE2gGzd__JT69p7S_zlOmKiHh8YjpImCCcWyTvM,1066
|
|
95
|
+
winipedia_utils-0.5.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|