nwa-stdlib 1.7.0__tar.gz → 1.7.2__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 (47) hide show
  1. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.bumpversion.cfg +1 -1
  2. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.github/workflows/test-package.yaml +2 -2
  3. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/PKG-INFO +1 -1
  4. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/__init__.py +1 -1
  5. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/logging.py +7 -5
  6. nwa_stdlib-1.7.0/requirements/all.txt +0 -3
  7. nwa_stdlib-1.7.0/requirements/base.txt +0 -7
  8. nwa_stdlib-1.7.0/requirements/dev.txt +0 -4
  9. nwa_stdlib-1.7.0/requirements/test.txt +0 -10
  10. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.github/dependabot.yml +0 -0
  11. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.github/workflows/publish-release.yaml +0 -0
  12. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.github/workflows/scheduled-build.yml +0 -0
  13. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.gitignore +0 -0
  14. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.pre-commit-config.yaml +0 -0
  15. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/.stignore +0 -0
  16. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/LICENSE +0 -0
  17. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/NOTICE +0 -0
  18. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/README.md +0 -0
  19. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/benchmarks/benchmark_async_cache_with_json.py +0 -0
  20. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/benchmarks/benchmark_async_cache_with_orjson.py +0 -0
  21. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/benchmarks/benchmark_async_cache_with_pickle.py +0 -0
  22. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/benchmarks/shared.py +0 -0
  23. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/docs/debugging.md +0 -0
  24. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/asyncio.py +0 -0
  25. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/asyncio_cache.py +0 -0
  26. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/debugging.py +0 -0
  27. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/ex.py +0 -0
  28. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/f.py +0 -0
  29. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/graphql/__init__.py +0 -0
  30. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/graphql/extensions/__init__.py +0 -0
  31. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/graphql/extensions/deprecation_checker_extension.py +0 -0
  32. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/graphql/extensions/error_handler_extension.py +0 -0
  33. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/py.typed +0 -0
  34. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/settings.py +0 -0
  35. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/url.py +0 -0
  36. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/version.py +0 -0
  37. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/nwastdlib/vlans.py +0 -0
  38. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/pyproject.toml +0 -0
  39. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/setup.cfg +0 -0
  40. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/__init__.py +0 -0
  41. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/conftest.py +0 -0
  42. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/graphql/__init__.py +0 -0
  43. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/graphql/test_deprecation_checker_extension.py +0 -0
  44. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/graphql/test_error_handler_extension.py +0 -0
  45. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/test_asyncio.py +0 -0
  46. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/test_asyncio_cache.py +0 -0
  47. {nwa_stdlib-1.7.0 → nwa_stdlib-1.7.2}/tests/test_vlans.py +0 -0
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.7.0
2
+ current_version = 1.7.2
3
3
  commit = False
4
4
  tag = False
5
5
  parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
@@ -28,7 +28,7 @@ jobs:
28
28
  pip install flit
29
29
  flit install --deps develop --symlink
30
30
  - name: Ruff
31
- run: ruff .
31
+ run: ruff check .
32
32
  - name: Black
33
33
  run: black . --check
34
34
  - name: Mypy
@@ -40,4 +40,4 @@ jobs:
40
40
  with:
41
41
  token: ${{ secrets.CODECOV_TOKEN }}
42
42
  fail_ci_if_error: true
43
- files: ./coverage.xml
43
+ files: ./coverage.xml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nwa-stdlib
3
- Version: 1.7.0
3
+ Version: 1.7.2
4
4
  Summary: The NWA-stdlib module.
5
5
  Home-page: https://github.com/workfloworchestrator/nwa-stdlib
6
6
  Author: SURF
@@ -13,7 +13,7 @@
13
13
  #
14
14
  """The NWA-stdlib module."""
15
15
 
16
- __version__ = "1.7.0"
16
+ __version__ = "1.7.2"
17
17
 
18
18
  from nwastdlib.f import const, identity
19
19
 
@@ -23,7 +23,7 @@ pre_chain = [
23
23
  # is not from structlog.
24
24
  structlog.stdlib.add_log_level,
25
25
  structlog.stdlib.add_logger_name,
26
- structlog.processors.TimeStamper(fmt="%Y-%m-%d %H:%M:%S"),
26
+ structlog.processors.TimeStamper(fmt="%Y-%m-%d %H:%M:%S", utc=False),
27
27
  structlog.stdlib.PositionalArgumentsFormatter(),
28
28
  structlog.processors.StackInfoRenderer(),
29
29
  structlog.processors.format_exc_info,
@@ -32,6 +32,8 @@ pre_chain = [
32
32
  LOG_LEVEL = os.getenv("LOG_LEVEL", "DEBUG")
33
33
  LOG_OUTPUT = os.getenv("LOG_OUTPUT", "colored")
34
34
 
35
+ default_out_stream = "ext://sys.stdout"
36
+
35
37
  # Must be called like so due to the gunicorn config do not rename
36
38
  logconfig_dict = {
37
39
  "version": 1,
@@ -54,11 +56,11 @@ logconfig_dict = {
54
56
  },
55
57
  },
56
58
  "handlers": {
57
- "default": {"class": "logging.StreamHandler", "formatter": LOG_OUTPUT},
59
+ "default": {"class": "logging.StreamHandler", "stream": default_out_stream, "formatter": LOG_OUTPUT},
58
60
  # These handlers are needed by gunicorn
59
- "error_console": {"class": "logging.StreamHandler", "formatter": LOG_OUTPUT},
60
- "console": {"class": "logging.StreamHandler", "formatter": LOG_OUTPUT},
61
- "gunicorn.error": {"class": "logging.StreamHandler", "formatter": LOG_OUTPUT},
61
+ "error_console": {"class": "logging.StreamHandler", "stream": default_out_stream, "formatter": LOG_OUTPUT},
62
+ "console": {"class": "logging.StreamHandler", "stream": default_out_stream, "formatter": LOG_OUTPUT},
63
+ "gunicorn.error": {"class": "logging.StreamHandler", "stream": default_out_stream, "formatter": LOG_OUTPUT},
62
64
  },
63
65
  }
64
66
 
@@ -1,3 +0,0 @@
1
- -r base.txt
2
- -r test.txt
3
- -r dev.txt
@@ -1,7 +0,0 @@
1
- colorama~=0.4.6
2
- more-itertools~=10.2.0
3
- pydantic
4
- pydantic-settings
5
- strawberry-graphql
6
- structlog~=22.1.0
7
- redis~=4.4.2
@@ -1,4 +0,0 @@
1
- -r test.txt
2
- pre-commit
3
- types-redis
4
-
@@ -1,10 +0,0 @@
1
- -r base.txt
2
- apache-license-check
3
- black
4
- fakeredis
5
- mypy
6
- mypy_extensions
7
- pytest
8
- pytest-cov
9
- pytest-xdist
10
- ruff
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