insightfactory-cli 1.0.0.dev4__tar.gz → 1.0.1.dev5__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 (49) hide show
  1. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/PKG-INFO +1 -1
  2. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/pyproject.toml +1 -1
  3. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_cli.py +6 -1
  4. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/uv.lock +1 -1
  5. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/ci.yml +0 -0
  6. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/claude.yml +0 -0
  7. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.github/workflows/release.yml +0 -0
  8. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.gitignore +0 -0
  9. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/.python-version +0 -0
  10. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/AGENTS.md +0 -0
  11. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/CLAUDE.md +0 -0
  12. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/README.md +0 -0
  13. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/__init__.py +0 -0
  14. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/__main__.py +0 -0
  15. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/cache.py +0 -0
  16. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/cli.py +0 -0
  17. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/colour.py +0 -0
  18. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/__init__.py +0 -0
  19. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/api.py +0 -0
  20. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/config.py +0 -0
  21. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/login.py +0 -0
  22. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/logout.py +0 -0
  23. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/profiles.py +0 -0
  24. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/set_token.py +0 -0
  25. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/commands/token.py +0 -0
  26. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/config.py +0 -0
  27. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/constants.py +0 -0
  28. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/http.py +0 -0
  29. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/main.py +0 -0
  30. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/oauth.py +0 -0
  31. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/src/if_cli/runtime.py +0 -0
  32. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/__init__.py +0 -0
  33. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/cache_writer.py +0 -0
  34. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/conftest.py +0 -0
  35. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/helpers.py +0 -0
  36. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/servers.py +0 -0
  37. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_api.py +0 -0
  38. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_api_command.py +0 -0
  39. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_cache.py +0 -0
  40. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_config.py +0 -0
  41. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_config_command.py +0 -0
  42. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_login.py +0 -0
  43. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_oauth.py +0 -0
  44. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_oauth_flow.py +0 -0
  45. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_profiles.py +0 -0
  46. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_programmatic_api.py +0 -0
  47. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_runtime.py +0 -0
  48. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_set_token.py +0 -0
  49. {insightfactory_cli-1.0.0.dev4 → insightfactory_cli-1.0.1.dev5}/tests/test_token.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: insightfactory-cli
3
- Version: 1.0.0.dev4
3
+ Version: 1.0.1.dev5
4
4
  Summary: Profile-based authentication CLI for the InsightFactory Interfaces API
5
5
  Project-URL: Homepage, https://github.com/insightfactory-ai/insightfactory-cli
6
6
  Project-URL: Repository, https://github.com/insightfactory-ai/insightfactory-cli
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "insightfactory-cli"
3
- version = "1.0.0.dev4"
3
+ version = "1.0.1.dev5"
4
4
  description = "Profile-based authentication CLI for the InsightFactory Interfaces API"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -2,6 +2,7 @@ from __future__ import annotations
2
2
 
3
3
  import json
4
4
  import shutil
5
+ from importlib.metadata import version
5
6
  from pathlib import Path
6
7
 
7
8
  import pytest
@@ -112,7 +113,11 @@ def test_an_unknown_command_fails_with_the_command_reference():
112
113
  def test_version_prints_the_package_version():
113
114
  result = run_cli(["--version"])
114
115
  assert result.returncode == 0
115
- assert result.stdout.strip() == "1.0.0"
116
+ # Compare against the installed metadata, which is the same source main.py
117
+ # reads, rather than a literal. The property under test is that --version
118
+ # reports the package's own version -- not what that version happens to be --
119
+ # so a release bump should not have to edit this test.
120
+ assert result.stdout.strip() == version("insightfactory-cli")
116
121
 
117
122
 
118
123
  def test_login_parses_profile_host_and_no_browser_flags():
@@ -34,7 +34,7 @@ wheels = [
34
34
 
35
35
  [[package]]
36
36
  name = "insightfactory-cli"
37
- version = "1.0.0"
37
+ version = "1.0.1"
38
38
  source = { editable = "." }
39
39
 
40
40
  [package.dev-dependencies]