softmax-cli 0.26.6__tar.gz → 0.26.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.
Files changed (21) hide show
  1. softmax_cli-0.26.8/BUILD.bazel +19 -0
  2. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/PKG-INFO +3 -2
  3. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/pyproject.toml +6 -2
  4. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/PKG-INFO +3 -2
  5. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/SOURCES.txt +2 -0
  6. softmax_cli-0.26.8/tests/BUILD.bazel +38 -0
  7. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/setup.cfg +0 -0
  8. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/__init__.py +0 -0
  9. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/_console.py +0 -0
  10. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/auth.py +0 -0
  11. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/cli.py +0 -0
  12. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/cogames.py +0 -0
  13. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/perform_login.py +0 -0
  14. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax/token_storage.py +0 -0
  15. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/dependency_links.txt +0 -0
  16. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/entry_points.txt +0 -0
  17. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/requires.txt +0 -0
  18. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/src/softmax_cli.egg-info/top_level.txt +0 -0
  19. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/tests/test_auth_login.py +0 -0
  20. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/tests/test_cli_plugins.py +0 -0
  21. {softmax_cli-0.26.6 → softmax_cli-0.26.8}/tests/test_python_api.py +0 -0
@@ -0,0 +1,19 @@
1
+ load("@rules_python//python:defs.bzl", "py_library")
2
+
3
+ # Local source for softmax-cli. BUILD targets live above the python source
4
+ # tree to keep wheels clean — see common/BUILD.bazel for the rationale.
5
+ py_library(
6
+ name = "softmax",
7
+ srcs = glob(["src/softmax/**/*.py"]),
8
+ imports = ["src"], # so `import softmax` resolves
9
+ visibility = ["//visibility:public"],
10
+ deps = [
11
+ # Mirrors packages/softmax-cli/pyproject.toml [project.dependencies].
12
+ "@pyenv//:typer",
13
+ "@pyenv//:rich",
14
+ "@pyenv//:fastapi",
15
+ "@pyenv//:uvicorn",
16
+ "@pyenv//:httpx",
17
+ "@pyenv//:pyyaml",
18
+ ],
19
+ )
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: softmax-cli
3
- Version: 0.26.6
3
+ Version: 0.26.8
4
4
  Summary: Softmax CLI — authentication and account tools
5
5
  Classifier: Programming Language :: Python :: 3
6
+ Classifier: Programming Language :: Python :: 3.11
6
7
  Classifier: Programming Language :: Python :: 3.12
7
- Requires-Python: <3.13,>=3.12
8
+ Requires-Python: <3.13,>=3.11
8
9
  Description-Content-Type: text/markdown
9
10
  Requires-Dist: typer>=0.19.2
10
11
  Requires-Dist: rich>=13.7.0
@@ -6,8 +6,12 @@ build-backend = "setuptools.build_meta"
6
6
  name = "softmax-cli"
7
7
  description = "Softmax CLI — authentication and account tools"
8
8
  readme = "README.md"
9
- requires-python = ">=3.12,<3.13"
10
- classifiers = ["Programming Language :: Python :: 3", "Programming Language :: Python :: 3.12"]
9
+ requires-python = ">=3.11,<3.13"
10
+ classifiers = [
11
+ "Programming Language :: Python :: 3",
12
+ "Programming Language :: Python :: 3.11",
13
+ "Programming Language :: Python :: 3.12",
14
+ ]
11
15
  dependencies = [
12
16
  "typer>=0.19.2",
13
17
  "rich>=13.7.0",
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: softmax-cli
3
- Version: 0.26.6
3
+ Version: 0.26.8
4
4
  Summary: Softmax CLI — authentication and account tools
5
5
  Classifier: Programming Language :: Python :: 3
6
+ Classifier: Programming Language :: Python :: 3.11
6
7
  Classifier: Programming Language :: Python :: 3.12
7
- Requires-Python: <3.13,>=3.12
8
+ Requires-Python: <3.13,>=3.11
8
9
  Description-Content-Type: text/markdown
9
10
  Requires-Dist: typer>=0.19.2
10
11
  Requires-Dist: rich>=13.7.0
@@ -1,3 +1,4 @@
1
+ BUILD.bazel
1
2
  pyproject.toml
2
3
  src/softmax/__init__.py
3
4
  src/softmax/_console.py
@@ -12,6 +13,7 @@ src/softmax_cli.egg-info/dependency_links.txt
12
13
  src/softmax_cli.egg-info/entry_points.txt
13
14
  src/softmax_cli.egg-info/requires.txt
14
15
  src/softmax_cli.egg-info/top_level.txt
16
+ tests/BUILD.bazel
15
17
  tests/test_auth_login.py
16
18
  tests/test_cli_plugins.py
17
19
  tests/test_python_api.py
@@ -0,0 +1,38 @@
1
+ load("//tools:pytest.bzl", "pytest_test")
2
+
3
+ # Every test file under packages/softmax-cli/tests/ exposed as its own
4
+ # pytest_test. softmax-cli tests use Typer's CliRunner + tmp_path tokens —
5
+ # no network, no subprocess, hermetic.
6
+ _TEST_FILES = glob(
7
+ ["test_*.py"],
8
+ allow_empty = False,
9
+ )
10
+
11
+ [
12
+ pytest_test(
13
+ name = test_file.removesuffix(".py"),
14
+ srcs = [test_file] + glob(["conftest.py", "__init__.py"], allow_empty = True),
15
+ args = [
16
+ "--rootdir=packages/softmax-cli/tests",
17
+ "--confcutdir=packages/softmax-cli/tests",
18
+ "--import-mode=importlib",
19
+ "-p",
20
+ "no:importnb",
21
+ "-o",
22
+ "addopts=",
23
+ "-o",
24
+ "pythonpath=",
25
+ ],
26
+ deps = [
27
+ "//packages/softmax-cli:softmax",
28
+ # test_cli_plugins exercises Typer entry-point discovery — it
29
+ # asserts `cogames` registers as a softmax subcommand. With
30
+ # per-package @pyenv targets only deps you name reach the
31
+ # runfiles tree, so the cogames dist-info has to be pulled in
32
+ # explicitly for the entry-point loader to find it.
33
+ "@pyenv//:cogames",
34
+ "@pyenv//:pytest",
35
+ ],
36
+ )
37
+ for test_file in _TEST_FILES
38
+ ]
File without changes