sumo-wrapper-python 1.0.20__tar.gz → 1.0.22__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.

Potentially problematic release.


This version of sumo-wrapper-python might be problematic. Click here for more details.

Files changed (46) hide show
  1. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.github/workflows/publish_release.yml +1 -1
  2. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.github/workflows/pytest.yml +1 -1
  3. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/PKG-INFO +3 -3
  4. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/pyproject.toml +3 -13
  5. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_auth_provider.py +1 -0
  6. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_version.py +2 -2
  7. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/PKG-INFO +3 -3
  8. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.github/workflows/build_docs.yaml +0 -0
  9. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.github/workflows/linting.yml +0 -0
  10. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.gitignore +0 -0
  11. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.pre-commit-config.yaml +0 -0
  12. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/.readthedocs.yaml +0 -0
  13. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/CONTRIBUTING.md +0 -0
  14. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/LICENSE +0 -0
  15. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/README.md +0 -0
  16. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/SECURITY.md +0 -0
  17. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/Makefile +0 -0
  18. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/_static/equinor-logo.png +0 -0
  19. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/_static/equinor-logo2.jpg +0 -0
  20. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/_static/equinor_logo.jpg +0 -0
  21. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/_static/equinor_logo_only.jpg +0 -0
  22. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/_templates/layout.html +0 -0
  23. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/api.rst +0 -0
  24. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/conf.py +0 -0
  25. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/index.rst +0 -0
  26. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/make.bat +0 -0
  27. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/docs/sumo-wrapper-python.rst +0 -0
  28. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/setup.cfg +0 -0
  29. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/__init__.py +0 -0
  30. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/__init__.py +0 -0
  31. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_blob_client.py +0 -0
  32. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_decorators.py +0 -0
  33. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_logging.py +0 -0
  34. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/_retry_strategy.py +0 -0
  35. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/config.py +0 -0
  36. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/login.py +0 -0
  37. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo/wrapper/sumo_client.py +0 -0
  38. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
  39. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
  40. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
  41. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
  42. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
  43. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/tests/conftest.py +0 -0
  44. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/tests/test_sumo_thin_client.py +0 -0
  45. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/tests/testdata/case.yml +0 -0
  46. {sumo_wrapper_python-1.0.20 → sumo_wrapper_python-1.0.22}/tests/testdata/surface.yml +0 -0
@@ -17,7 +17,7 @@ jobs:
17
17
 
18
18
  - uses: actions/setup-python@v5
19
19
  with:
20
- python-version: "3.8"
20
+ python-version: "3.11"
21
21
 
22
22
  - name: build
23
23
  run: |
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ${{ matrix.os }}
15
15
  strategy:
16
16
  matrix:
17
- python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
18
18
  os: [ubuntu-latest, windows-latest, macos-13]
19
19
  permissions:
20
20
  contents: read
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: sumo-wrapper-python
3
- Version: 1.0.20
3
+ Version: 1.0.22
4
4
  Summary: Python wrapper for the Sumo API
5
5
  Author: Equinor
6
6
  License: Apache License
@@ -208,7 +208,7 @@ License: Apache License
208
208
  Project-URL: Repository, https://github.com/equinor/sumo-wrapper-python
209
209
  Classifier: License :: OSI Approved :: Apache Software License
210
210
  Classifier: Programming Language :: Python
211
- Requires-Python: >=3.8
211
+ Requires-Python: >=3.9
212
212
  Description-Content-Type: text/markdown
213
213
  License-File: LICENSE
214
214
  Requires-Dist: msal>=1.20.0
@@ -15,7 +15,7 @@ classifiers = [
15
15
  "Programming Language :: Python",
16
16
  ]
17
17
  authors = [{ name = "Equinor" }]
18
- requires-python = ">=3.8"
18
+ requires-python = ">=3.9"
19
19
  dynamic = ["version"]
20
20
  dependencies = [
21
21
  "msal>=1.20.0",
@@ -47,21 +47,12 @@ sumo_login = "sumo.wrapper.login:main"
47
47
  where = ["src"]
48
48
 
49
49
  [tool.ruff]
50
- exclude = [
51
- ".env",
52
- ".git",
53
- ".github",
54
- ".venv",
55
- "venv",
56
- ]
50
+ exclude = [".env", ".git", ".github", ".venv", "venv"]
57
51
 
58
52
  line-length = 79
59
53
 
60
54
  [tool.ruff.lint]
61
- ignore = [
62
- "E501",
63
- "N802",
64
- ]
55
+ ignore = ["E501", "N802"]
65
56
 
66
57
  extend-select = [
67
58
  "C4", # Flake8-comprehensions
@@ -74,4 +65,3 @@ extend-select = [
74
65
 
75
66
  [tool.ruff.lint.per-file-ignores]
76
67
  "__init__.py" = ["F401"]
77
-
@@ -389,6 +389,7 @@ class AuthProviderSumoToken(AuthProvider):
389
389
  before_sleep=_log_retry_info,
390
390
  )
391
391
  def __init__(self, resource_id, case_uuid=None):
392
+ super().__init__(resource_id)
392
393
  protect_token_cache(resource_id, ".sharedkey", case_uuid)
393
394
  token_path = get_token_path(resource_id, ".sharedkey", case_uuid)
394
395
  with open(token_path, "r") as f:
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.0.20'
16
- __version_tuple__ = version_tuple = (1, 0, 20)
15
+ __version__ = version = '1.0.22'
16
+ __version_tuple__ = version_tuple = (1, 0, 22)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: sumo-wrapper-python
3
- Version: 1.0.20
3
+ Version: 1.0.22
4
4
  Summary: Python wrapper for the Sumo API
5
5
  Author: Equinor
6
6
  License: Apache License
@@ -208,7 +208,7 @@ License: Apache License
208
208
  Project-URL: Repository, https://github.com/equinor/sumo-wrapper-python
209
209
  Classifier: License :: OSI Approved :: Apache Software License
210
210
  Classifier: Programming Language :: Python
211
- Requires-Python: >=3.8
211
+ Requires-Python: >=3.9
212
212
  Description-Content-Type: text/markdown
213
213
  License-File: LICENSE
214
214
  Requires-Dist: msal>=1.20.0