bazis-cli 2.4.0__tar.gz → 2.4.1__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.
Files changed (31) hide show
  1. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/PKG-INFO +1 -1
  2. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/_version.py +3 -3
  3. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/scaffold.py +1 -0
  4. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/PKG-INFO +1 -1
  5. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/SOURCES.txt +1 -0
  6. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/scm_file_list.json +1 -0
  7. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/scm_version.json +2 -2
  8. bazis_cli-2.4.1/docs/releases/2.4.1.md +7 -0
  9. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/tests/test_cli.py +5 -1
  10. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.dockerignore +0 -0
  11. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/build-publish.yml +0 -0
  12. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/release.yml +0 -0
  13. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/tests.yml +0 -0
  14. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/update-licenses.yml +0 -0
  15. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.gitignore +0 -0
  16. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/CLAUDE.md +0 -0
  17. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/README.md +0 -0
  18. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/AGENTS.md +0 -0
  19. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/__init__.py +0 -0
  20. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/agent.py +0 -0
  21. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/bazis_manifest.toml +0 -0
  22. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/main.py +0 -0
  23. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/dependency_links.txt +0 -0
  24. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/entry_points.txt +0 -0
  25. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/requires.txt +0 -0
  26. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/top_level.txt +0 -0
  27. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/docs/releases/2.4.0.md +0 -0
  28. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/pyproject.toml +0 -0
  29. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/setup.cfg +0 -0
  30. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/tests/__init__.py +0 -0
  31. {bazis_cli-2.4.0 → bazis_cli-2.4.1}/tests/conftest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bazis-cli
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: The bazis command: creates, extends and audits Bazis projects with Claude (Claude Agent SDK).
5
5
  Author-email: Ilya Kharyn <ilya.tt07@gmail.com>
6
6
  Maintainer-email: Ilya Kharyn <ilya.tt07@gmail.com>
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '2.4.0'
22
- __version_tuple__ = version_tuple = (2, 4, 0)
21
+ __version__ = version = '2.4.1'
22
+ __version_tuple__ = version_tuple = (2, 4, 1)
23
23
 
24
- __commit_id__ = commit_id = 'g2d504c4db'
24
+ __commit_id__ = commit_id = 'g51fdae78c'
@@ -250,6 +250,7 @@ def create_venv(directory: Path, run=subprocess.run) -> Path:
250
250
  Creates `.venv` with the dependencies of the project (with uv if it is installed) and
251
251
  returns its Python.
252
252
  """
253
+ directory = directory.resolve() # the commands run in it
253
254
  venv = directory / '.venv'
254
255
  python = venv / ('Scripts/python.exe' if sys.platform == 'win32' else 'bin/python')
255
256
  uv = shutil.which('uv')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bazis-cli
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: The bazis command: creates, extends and audits Bazis projects with Claude (Claude Agent SDK).
5
5
  Author-email: Ilya Kharyn <ilya.tt07@gmail.com>
6
6
  Maintainer-email: Ilya Kharyn <ilya.tt07@gmail.com>
@@ -23,6 +23,7 @@ bazis_cli.egg-info/scm_file_list.json
23
23
  bazis_cli.egg-info/scm_version.json
24
24
  bazis_cli.egg-info/top_level.txt
25
25
  docs/releases/2.4.0.md
26
+ docs/releases/2.4.1.md
26
27
  tests/__init__.py
27
28
  tests/conftest.py
28
29
  tests/test_cli.py
@@ -15,6 +15,7 @@
15
15
  "bazis/contrib/cli/main.py",
16
16
  "bazis/contrib/cli/scaffold.py",
17
17
  "docs/releases/2.4.0.md",
18
+ "docs/releases/2.4.1.md",
18
19
  "pyproject.toml",
19
20
  "tests/__init__.py",
20
21
  "tests/conftest.py",
@@ -1,7 +1,7 @@
1
1
  {
2
- "tag": "2.4.0",
2
+ "tag": "2.4.1",
3
3
  "distance": 0,
4
- "node": "g2d504c4db9db6d3fbc1ab43c93a70d37d154e2af",
4
+ "node": "g51fdae78ca96fb951113f40684d954755eb7ab50",
5
5
  "dirty": false,
6
6
  "branch": "HEAD",
7
7
  "node_date": "2026-10-02"
@@ -0,0 +1,7 @@
1
+ # bazis-cli 2.4.1
2
+
3
+ ## Fixes
4
+
5
+ - `bazis.contrib.cli.scaffold.create_venv` failed for a relative directory: it ran the
6
+ installation in the directory with paths relative to the current one. `bazis new` was not
7
+ affected (it passes an absolute path).
@@ -17,6 +17,7 @@ import json
17
17
  import os
18
18
  import subprocess
19
19
  import sys
20
+ from pathlib import Path
20
21
 
21
22
  import pytest
22
23
  from claude_agent_sdk import (
@@ -108,13 +109,16 @@ def test_scaffold_refuses_a_directory_with_files(tmp_path):
108
109
 
109
110
  def test_create_venv_with_pip(tmp_path, monkeypatch):
110
111
  monkeypatch.setattr(scaffold.shutil, 'which', lambda name: None)
112
+ monkeypatch.chdir(tmp_path.parent)
111
113
  commands = []
112
114
 
113
115
  def run(command, **kwargs):
114
116
  commands.append(command)
117
+ assert kwargs['cwd'] == tmp_path
115
118
  return subprocess.CompletedProcess(command, 0, '', '')
116
119
 
117
- python = scaffold.create_venv(tmp_path, run=run)
120
+ # a relative directory: the commands run in it, so their paths are absolute
121
+ python = scaffold.create_venv(Path(tmp_path.name), run=run)
118
122
 
119
123
  assert commands[0] == [sys.executable, '-m', 'venv', str(tmp_path / '.venv')]
120
124
  assert commands[1][:3] == [str(python), '-m', 'pip']
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes