node9 0.2.0__tar.gz → 1.0.2__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.
@@ -17,7 +17,8 @@ jobs:
17
17
  - uses: actions/checkout@v4
18
18
  with:
19
19
  fetch-depth: 0 # full history so semantic-release can walk commits
20
- persist-credentials: false
20
+ persist-credentials: true
21
+ token: ${{ secrets.AUTO_PR_TOKEN }}
21
22
 
22
23
  - uses: actions/setup-python@v5
23
24
  with:
@@ -32,9 +33,17 @@ jobs:
32
33
  - name: Release
33
34
  env:
34
35
  GH_TOKEN: ${{ secrets.AUTO_PR_TOKEN }}
35
- PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
36
36
  run: |
37
37
  git config user.name "github-actions[bot]"
38
38
  git config user.email "github-actions[bot]@users.noreply.github.com"
39
+ git remote set-url origin https://x-access-token:${{ secrets.AUTO_PR_TOKEN }}@github.com/node9-ai/node9-python.git
39
40
  semantic-release version
40
- semantic-release publish
41
+
42
+ - name: Build
43
+ run: python -m build
44
+
45
+ - name: Publish to PyPI
46
+ env:
47
+ TWINE_USERNAME: __token__
48
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
49
+ run: twine upload dist/* --skip-existing
@@ -0,0 +1,23 @@
1
+ # CHANGELOG
2
+
3
+ <!-- version list -->
4
+
5
+ ## v1.0.2 (2026-03-15)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Publish to PyPI explicitly with twine instead of semantic-release publish
10
+ ([`6847fdb`](https://github.com/node9-ai/node9-python/commit/6847fdbbf6c0bbd7a14a743b99745cdf005d73a9))
11
+
12
+
13
+ ## v1.0.1 (2026-03-15)
14
+
15
+ ### Bug Fixes
16
+
17
+ - Add TWINE credentials and twine to build command for PyPI upload
18
+ ([`d71d73d`](https://github.com/node9-ai/node9-python/commit/d71d73d1caa3c05cfd5011edcd3913f5fc976d07))
19
+
20
+
21
+ ## v1.0.0 (2026-03-15)
22
+
23
+ - Initial Release
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: node9
3
- Version: 0.2.0
3
+ Version: 1.0.2
4
4
  Summary: Execution security for Python AI agents — seatbelt for LangChain, CrewAI, and plain Python.
5
5
  Project-URL: Homepage, https://node9.ai
6
6
  Project-URL: Repository, https://github.com/node9-ai/node9-python
@@ -0,0 +1,6 @@
1
+ import sys
2
+ import pathlib
3
+
4
+ # Ensure the repo root is on sys.path so tests can import 'node9'
5
+ # whether or not the package is installed.
6
+ sys.path.insert(0, str(pathlib.Path(__file__).parent))
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "node9"
7
- version = "0.2.0"
7
+ version = "1.0.2"
8
8
  description = "Execution security for Python AI agents — seatbelt for LangChain, CrewAI, and plain Python."
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
@@ -34,10 +34,13 @@ packages = ["node9"]
34
34
  [tool.semantic_release]
35
35
  version_toml = ["pyproject.toml:project.version"]
36
36
  branch = "main"
37
- build_command = "pip install build && python -m build"
37
+ build_command = "pip install build twine && python -m build"
38
38
  dist_path = "dist/"
39
39
  upload_to_pypi = true
40
40
  upload_to_release = true
41
41
  commit_version_number = true
42
42
  tag_commit = true
43
43
  hvcs = "github"
44
+
45
+ [tool.semantic_release.publish]
46
+ upload_to_vcs_release = true
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes