proxygen-cli 2.1.21__tar.gz → 3.0.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 (36) hide show
  1. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/PKG-INFO +9 -13
  2. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/settings.py +1 -1
  3. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/validate_cli_version_test.py +2 -2
  4. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/pyproject.toml +11 -11
  5. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/README.md +0 -0
  6. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/__init__.py +0 -0
  7. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_credentials.py +0 -0
  8. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_docker.py +0 -0
  9. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_instance.py +0 -0
  10. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_main.py +0 -0
  11. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_pytest_nhsd_apim_token.py +0 -0
  12. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_secret.py +0 -0
  13. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_settings.py +0 -0
  14. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/cli/command_spec.py +0 -0
  15. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/auth.py +0 -0
  16. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/constants.py +0 -0
  17. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/credentials.py +0 -0
  18. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/dot_proxygen.py +0 -0
  19. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/output.py +0 -0
  20. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/proxygen_api.py +0 -0
  21. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/spec.py +0 -0
  22. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/spec_server.py +0 -0
  23. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/lib/version.py +0 -0
  24. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/__init__.py +0 -0
  25. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_credentials_test.py +0 -0
  26. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_instance_test.py +0 -0
  27. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_main_test.py +0 -0
  28. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_pytest_nhsd_apim_token_test.py +0 -0
  29. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_secret_test.py +0 -0
  30. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_settings_test.py +0 -0
  31. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/command_spec_test.py +0 -0
  32. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/conftest.py +0 -0
  33. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/fixtures/client.key +0 -0
  34. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/fixtures/client.pem +0 -0
  35. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/fixtures/secret.txt +0 -0
  36. {proxygen_cli-2.1.21 → proxygen_cli-3.0.1}/proxygen_cli/test/mock_private_key.py +0 -0
@@ -1,27 +1,23 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: proxygen-cli
3
- Version: 2.1.21
3
+ Version: 3.0.1
4
4
  Summary: CLI for interacting with NHSD APIM's proxygen service
5
5
  Author: Ben Strutt
6
6
  Author-email: ben.strutt1@nhs.net
7
- Requires-Python: >=3.9,<4.0
7
+ Requires-Python: >=3.13,<4.0
8
8
  Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.9
10
- Classifier: Programming Language :: Python :: 3.10
11
- Classifier: Programming Language :: Python :: 3.11
12
- Classifier: Programming Language :: Python :: 3.12
13
9
  Classifier: Programming Language :: Python :: 3.13
14
10
  Classifier: Programming Language :: Python :: 3.14
15
- Requires-Dist: click (>=8.1.3,<9.0.0)
16
- Requires-Dist: cryptography (>=42,<44)
17
- Requires-Dist: lxml (>=4.7.1,<5.0.0)
11
+ Requires-Dist: click (>=8.1.2,<9.0.0)
12
+ Requires-Dist: cryptography (>=44.0.1,<47.0.0)
13
+ Requires-Dist: lxml (>=6.0.1,<7.0.0)
18
14
  Requires-Dist: packaging (>=24.2,<25.0)
19
15
  Requires-Dist: pydantic (>=1.9.1,<2.0.0)
20
- Requires-Dist: pyjwt (>=2.3.0,<3.0.0)
21
- Requires-Dist: pyyaml (>=6.0,<7.0)
22
- Requires-Dist: requests (>=2.27.1,<3.0.0)
16
+ Requires-Dist: pyjwt (>=2.9.0,<3.0.0)
17
+ Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
18
+ Requires-Dist: requests (>=2.32.3,<3.0.0)
23
19
  Requires-Dist: tabulate (>=0.9.0,<0.10.0)
24
- Requires-Dist: yaspin (>=2.2.0,<3.0.0)
20
+ Requires-Dist: yaspin (>=3.2.0,<4.0.0)
25
21
  Project-URL: Repository, https://github.com/NHSDigital/proxygen-cli
26
22
  Description-Content-Type: text/markdown
27
23
 
@@ -34,4 +34,4 @@ class Settings(BaseSettings):
34
34
  )
35
35
 
36
36
 
37
- SETTINGS = Settings()
37
+ SETTINGS = Settings()
@@ -13,7 +13,7 @@ def test_validate_cli_version_success(patch_request):
13
13
 
14
14
 
15
15
  def test_validate_cli_version_failure(patch_request):
16
- required_version = "3.0.0"
16
+ required_version = "4.0.0"
17
17
 
18
18
  mocked_response = {"proxygen_cli": {"min_version": required_version}}
19
19
  with patch_request(200, mocked_response), pytest.raises(RuntimeError) as e:
@@ -21,5 +21,5 @@ def test_validate_cli_version_failure(patch_request):
21
21
 
22
22
  assert (
23
23
  str(e.value)
24
- == "This version proxygen-cli is out-of-date. Please update to 3.0.0"
24
+ == "This version proxygen-cli is out-of-date. Please update to 4.0.0"
25
25
  )
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "proxygen-cli"
3
- version = "2.1.21"
3
+ version = "3.0.1"
4
4
  description = "CLI for interacting with NHSD APIM's proxygen service"
5
5
  authors = ["Ben Strutt <ben.strutt1@nhs.net>"]
6
6
  readme = "README.md"
@@ -11,23 +11,23 @@ repository = "https://github.com/NHSDigital/proxygen-cli"
11
11
  proxygen = 'proxygen_cli.cli.command_main:main'
12
12
 
13
13
  [tool.poetry.dependencies]
14
- python = "^3.9"
14
+ python = "^3.13"
15
15
  pydantic = "^1.9.1"
16
- click = "^8.1.3"
17
- pyjwt = "^2.3.0"
18
- requests = "^2.27.1"
19
- lxml = "^4.7.1"
20
- cryptography = ">=42,<44"
21
- pyyaml = "^6.0"
22
- yaspin = "^2.2.0"
16
+ click="^8.1.2"
17
+ pyjwt = "^2.9.0"
18
+ requests = "^2.32.3"
19
+ lxml = "^6.0.1"
20
+ cryptography = ">= 44.0.1, < 47.0.0" # Not directly imported, but needed by pyjwt for the RS512 algorithm
21
+ pyyaml = "^6.0.3"
22
+ yaspin = "^3.2.0"
23
23
  tabulate = "^0.9.0"
24
24
  packaging = "^24.2"
25
25
 
26
26
  [tool.poetry.group.dev.dependencies]
27
- pytest = "^7.2.1"
27
+ pytest = "^8.4.2"
28
28
  pytest-cov = "^4.0.0"
29
29
  pytest-icdiff = "^0.6"
30
30
 
31
31
  [build-system]
32
32
  requires = ["poetry-core"]
33
- build-backend = "poetry.core.masonry.api"
33
+ build-backend = "poetry.core.masonry.api"
File without changes