tha-wright-stuff 0.1.6__tar.gz → 0.1.7__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.
- tha_wright_stuff-0.1.7/.github/workflows/dep-floors-check.yml +42 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/PKG-INFO +8 -2
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/README.md +5 -1
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/pyproject.toml +4 -1
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/dependabot.yml +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/workflows/bump-dep-floors.yml +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/workflows/ci.yml +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/workflows/dependabot-auto-merge.yml +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/workflows/publish.yml +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.gitignore +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/src/tha_wright_stuff/__init__.py +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/src/tha_wright_stuff/py.typed +0 -0
- {tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/tests/test_imports.py +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Dep Floors Status
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '0 8 * * *' # Daily at 8am UTC
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
check:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v7
|
|
13
|
+
|
|
14
|
+
- name: Check dependency floors
|
|
15
|
+
run: |
|
|
16
|
+
python3 - <<'PYEOF'
|
|
17
|
+
import re, json, sys
|
|
18
|
+
from urllib.request import urlopen
|
|
19
|
+
|
|
20
|
+
with open("pyproject.toml") as f:
|
|
21
|
+
content = f.read()
|
|
22
|
+
|
|
23
|
+
pattern = r'"(tha-[a-z-]+)>=([\d]+\.[\d]+\.[\d]+)"'
|
|
24
|
+
deps = re.findall(pattern, content)
|
|
25
|
+
|
|
26
|
+
stale = []
|
|
27
|
+
for pkg, floor in deps:
|
|
28
|
+
try:
|
|
29
|
+
with urlopen(f"https://pypi.org/pypi/{pkg}/json", timeout=10) as r:
|
|
30
|
+
latest = json.load(r)["info"]["version"]
|
|
31
|
+
except Exception:
|
|
32
|
+
print(f" skipping {pkg}")
|
|
33
|
+
continue
|
|
34
|
+
if tuple(int(x) for x in latest.split(".")) > tuple(int(x) for x in floor.split(".")):
|
|
35
|
+
stale.append(f"{pkg} (>={floor}, latest {latest})")
|
|
36
|
+
print(f" stale: {stale[-1]}")
|
|
37
|
+
|
|
38
|
+
if not stale:
|
|
39
|
+
print(" all floors current")
|
|
40
|
+
else:
|
|
41
|
+
sys.exit(1)
|
|
42
|
+
PYEOF
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tha-wright-stuff
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: A Tabular Helper meta-package that bundles the full tha-* library family in a single install.
|
|
5
5
|
Project-URL: Homepage, https://github.com/tha-guy-nate/tha-wright-stuff
|
|
6
6
|
Project-URL: Issues, https://github.com/tha-guy-nate/tha-wright-stuff/issues
|
|
@@ -26,6 +26,8 @@ Requires-Dist: tha-map-runner>=0.2.8
|
|
|
26
26
|
Requires-Dist: tha-req-runner>=0.2.3
|
|
27
27
|
Requires-Dist: tha-snowflake-runner>=0.1.2
|
|
28
28
|
Requires-Dist: tha-utils-helper>=0.2.4
|
|
29
|
+
Provides-Extra: all
|
|
30
|
+
Requires-Dist: tha-req-runner[httpx]; extra == 'all'
|
|
29
31
|
Provides-Extra: dev
|
|
30
32
|
Requires-Dist: mypy>=2.1.0; extra == 'dev'
|
|
31
33
|
Requires-Dist: pytest>=9.1.0; extra == 'dev'
|
|
@@ -34,10 +36,14 @@ Description-Content-Type: text/markdown
|
|
|
34
36
|
|
|
35
37
|
# tha-wright-stuff
|
|
36
38
|
|
|
39
|
+
[](https://pypi.org/project/tha-wright-stuff/)
|
|
40
|
+
[](https://github.com/tha-guy-nate/tha-wright-stuff/actions/workflows/dep-floors-check.yml)
|
|
41
|
+
|
|
37
42
|
> Install the entire Tabular Helper (`tha-*`) library family in one shot.
|
|
38
43
|
|
|
39
44
|
```bash
|
|
40
|
-
pip install tha-wright-stuff
|
|
45
|
+
pip install tha-wright-stuff # core family
|
|
46
|
+
pip install tha-wright-stuff[all] # + all optional extras (httpx backend, etc.)
|
|
41
47
|
```
|
|
42
48
|
|
|
43
49
|
---
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# tha-wright-stuff
|
|
2
2
|
|
|
3
|
+
[](https://pypi.org/project/tha-wright-stuff/)
|
|
4
|
+
[](https://github.com/tha-guy-nate/tha-wright-stuff/actions/workflows/dep-floors-check.yml)
|
|
5
|
+
|
|
3
6
|
> Install the entire Tabular Helper (`tha-*`) library family in one shot.
|
|
4
7
|
|
|
5
8
|
```bash
|
|
6
|
-
pip install tha-wright-stuff
|
|
9
|
+
pip install tha-wright-stuff # core family
|
|
10
|
+
pip install tha-wright-stuff[all] # + all optional extras (httpx backend, etc.)
|
|
7
11
|
```
|
|
8
12
|
|
|
9
13
|
---
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tha-wright-stuff"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.7"
|
|
8
8
|
description = "A Tabular Helper meta-package that bundles the full tha-* library family in a single install."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -35,6 +35,9 @@ dependencies = [
|
|
|
35
35
|
]
|
|
36
36
|
|
|
37
37
|
[project.optional-dependencies]
|
|
38
|
+
all = [
|
|
39
|
+
"tha-req-runner[httpx]",
|
|
40
|
+
]
|
|
38
41
|
dev = [
|
|
39
42
|
"pytest>=9.1.0",
|
|
40
43
|
"ruff>=0.15.17",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tha_wright_stuff-0.1.6 → tha_wright_stuff-0.1.7}/.github/workflows/dependabot-auto-merge.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|