tha-wright-stuff 0.1.6__tar.gz → 0.1.8__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.
@@ -88,10 +88,6 @@ jobs:
88
88
  print(f"pyproject.toml updated -- version {old_ver} -> {new_ver}")
89
89
  PYEOF
90
90
 
91
- - name: Update lockfile
92
- if: steps.check.outputs.changed == 'true'
93
- run: uv lock
94
-
95
91
  - name: Commit and open PR
96
92
  if: steps.check.outputs.changed == 'true'
97
93
  run: |
@@ -99,7 +95,7 @@ jobs:
99
95
  git config user.email "github-actions[bot]@users.noreply.github.com"
100
96
  BRANCH="chore/bump-dep-floors-$(date +%Y%m%d)"
101
97
  git checkout -b "$BRANCH"
102
- git add pyproject.toml uv.lock
98
+ git add pyproject.toml
103
99
  git commit -m "chore: bump tha-* dependency floors to v${{ steps.check.outputs.new_version }}"
104
100
  git push origin "$BRANCH"
105
101
  gh pr create \
@@ -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.6
3
+ Version: 0.1.8
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
+ [![PyPI](https://img.shields.io/pypi/v/tha-wright-stuff)](https://pypi.org/project/tha-wright-stuff/)
40
+ [![dep floors](https://github.com/tha-guy-nate/tha-wright-stuff/actions/workflows/dep-floors-check.yml/badge.svg)](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
  ---
@@ -81,7 +87,7 @@ Every public class, function, and error type from all eight libraries is availab
81
87
 
82
88
  - Python 3.10+
83
89
 
84
- All eight libraries are installed automatically as dependencies. Optional extras from individual libraries (e.g. `tha-csv-runner[excel]`, `tha-req-runner[httpx]`) are not pulled in by default — install them separately if needed.
90
+ All eight libraries are installed automatically as dependencies. Use `pip install tha-wright-stuff[all]` to also pull in optional extras (currently `tha-req-runner[httpx]`).
85
91
 
86
92
  ---
87
93
 
@@ -1,9 +1,13 @@
1
1
  # tha-wright-stuff
2
2
 
3
+ [![PyPI](https://img.shields.io/pypi/v/tha-wright-stuff)](https://pypi.org/project/tha-wright-stuff/)
4
+ [![dep floors](https://github.com/tha-guy-nate/tha-wright-stuff/actions/workflows/dep-floors-check.yml/badge.svg)](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
  ---
@@ -47,7 +51,7 @@ Every public class, function, and error type from all eight libraries is availab
47
51
 
48
52
  - Python 3.10+
49
53
 
50
- All eight libraries are installed automatically as dependencies. Optional extras from individual libraries (e.g. `tha-csv-runner[excel]`, `tha-req-runner[httpx]`) are not pulled in by default — install them separately if needed.
54
+ All eight libraries are installed automatically as dependencies. Use `pip install tha-wright-stuff[all]` to also pull in optional extras (currently `tha-req-runner[httpx]`).
51
55
 
52
56
  ---
53
57
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tha-wright-stuff"
7
- version = "0.1.6"
7
+ version = "0.1.8"
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",
@@ -1,5 +1,9 @@
1
1
  """tha-wright-stuff: the full tha-* Tabular Helper library family in one install."""
2
2
 
3
+ from importlib.metadata import version
4
+
5
+ __version__ = version("tha-wright-stuff")
6
+
3
7
  from tha_aws_runner import (
4
8
  AWSBase,
5
9
  AWSClients,
@@ -39,7 +43,6 @@ from tha_utils_helper import (
39
43
  UtilsError,
40
44
  )
41
45
 
42
- __version__ = "0.1.4"
43
46
  __all__ = [
44
47
  "AWSBase",
45
48
  "AWSClients",