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.
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/PKG-INFO +1 -1
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/_version.py +3 -3
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/scaffold.py +1 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/PKG-INFO +1 -1
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/SOURCES.txt +1 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/scm_file_list.json +1 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/scm_version.json +2 -2
- bazis_cli-2.4.1/docs/releases/2.4.1.md +7 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/tests/test_cli.py +5 -1
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.dockerignore +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/build-publish.yml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/release.yml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/tests.yml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.github/workflows/update-licenses.yml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/.gitignore +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/CLAUDE.md +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/README.md +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/AGENTS.md +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/__init__.py +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/agent.py +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/bazis_manifest.toml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis/contrib/cli/main.py +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/dependency_links.txt +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/entry_points.txt +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/requires.txt +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/bazis_cli.egg-info/top_level.txt +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/docs/releases/2.4.0.md +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/pyproject.toml +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/setup.cfg +0 -0
- {bazis_cli-2.4.0 → bazis_cli-2.4.1}/tests/__init__.py +0 -0
- {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.
|
|
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.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 4,
|
|
21
|
+
__version__ = version = '2.4.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 4, 1)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
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.
|
|
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>
|
|
@@ -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
|
-
|
|
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
|
|
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
|