open-api-framework 0.10.1__tar.gz → 0.10.3__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. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/CHANGELOG.rst +14 -0
  2. {open_api_framework-0.10.1/open_api_framework.egg-info → open_api_framework-0.10.3}/PKG-INFO +6 -8
  3. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/README.rst +1 -1
  4. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/conf/base.py +3 -1
  5. {open_api_framework-0.10.1 → open_api_framework-0.10.3/open_api_framework.egg-info}/PKG-INFO +6 -8
  6. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework.egg-info/requires.txt +2 -1
  7. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/pyproject.toml +6 -8
  8. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/tests/test_generate_envvar_docs.py +1 -1
  9. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/tests/test_settings.py +1 -3
  10. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/LICENSE +0 -0
  11. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/MANIFEST.in +0 -0
  12. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/__init__.py +0 -0
  13. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/admin.py +0 -0
  14. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/apps.py +0 -0
  15. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/conf/__init__.py +0 -0
  16. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/conf/utils.py +0 -0
  17. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/context_processors.py +0 -0
  18. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/management/__init__.py +0 -0
  19. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/management/commands/__init__.py +0 -0
  20. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
  21. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/py.typed +0 -0
  22. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
  23. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
  24. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
  25. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
  26. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
  27. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templatetags/__init__.py +0 -0
  28. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templatetags/doc_tags.py +0 -0
  29. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/templatetags/open_api_framework.py +0 -0
  30. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework/utils.py +0 -0
  31. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework.egg-info/SOURCES.txt +0 -0
  32. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework.egg-info/dependency_links.txt +0 -0
  33. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/open_api_framework.egg-info/top_level.txt +0 -0
  34. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/setup.cfg +0 -0
  35. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/tests/test_admin.py +0 -0
  36. {open_api_framework-0.10.1 → open_api_framework-0.10.3}/tests/test_config_helpers.py +0 -0
@@ -1,6 +1,20 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.10.3 (2025-06-17)
5
+ -------------------
6
+
7
+ **Bugfixes**
8
+
9
+ * [maykinmedia/objects-api#620] Change ``LOG_LEVEL`` environment variable default value from ``WARNING`` to ``INFO``
10
+
11
+ 0.10.2 (2025-06-11)
12
+ -------------------
13
+
14
+ **New features**
15
+
16
+ * [#139] Add ``django-upgrade-check`` dependency and set Python 3.12 as the minimum required version
17
+
4
18
  0.10.1 (2025-05-26)
5
19
  -------------------
6
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.10.1
3
+ Version: 0.10.3
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -18,20 +18,17 @@ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
18
18
  Keywords: metapackage,dependencies,settings
19
19
  Classifier: Development Status :: 3 - Alpha
20
20
  Classifier: Framework :: Django
21
- Classifier: Framework :: Django :: 4.2
22
- Classifier: Framework :: Django :: 5.1
21
+ Classifier: Framework :: Django :: 5.2
23
22
  Classifier: Intended Audience :: Developers
24
23
  Classifier: Operating System :: Unix
25
24
  Classifier: Operating System :: MacOS
26
25
  Classifier: Operating System :: Microsoft :: Windows
27
- Classifier: Programming Language :: Python :: 3.9
28
- Classifier: Programming Language :: Python :: 3.11
29
26
  Classifier: Programming Language :: Python :: 3.12
30
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
- Requires-Python: >=3.9
28
+ Requires-Python: >=3.12
32
29
  Description-Content-Type: text/x-rst
33
30
  License-File: LICENSE
34
- Requires-Dist: django>=4.2.17
31
+ Requires-Dist: django>=5.2
35
32
  Requires-Dist: django-axes>=6.5.1
36
33
  Requires-Dist: django-cors-headers>=4.4.0
37
34
  Requires-Dist: django-markup>=1.8.1
@@ -60,6 +57,7 @@ Requires-Dist: flower>=2.0.1
60
57
  Requires-Dist: maykin-2fa>=1.0.1
61
58
  Requires-Dist: django-setup-configuration>=0.1.0
62
59
  Requires-Dist: django-sessionprofile>=3.0.0
60
+ Requires-Dist: django-upgrade-check>=1.1.0
63
61
  Provides-Extra: tests
64
62
  Requires-Dist: pytest; extra == "tests"
65
63
  Requires-Dist: pytest-django; extra == "tests"
@@ -82,7 +80,7 @@ Dynamic: license-file
82
80
  Open API Framework
83
81
  ==================
84
82
 
85
- :Version: 0.10.1
83
+ :Version: 0.10.3
86
84
  :Source: https://github.com/maykinmedia/open-api-framework
87
85
  :Keywords: metapackage, dependencies
88
86
 
@@ -1,7 +1,7 @@
1
1
  Open API Framework
2
2
  ==================
3
3
 
4
- :Version: 0.10.1
4
+ :Version: 0.10.3
5
5
  :Source: https://github.com/maykinmedia/open-api-framework
6
6
  :Keywords: metapackage, dependencies
7
7
 
@@ -229,6 +229,8 @@ INSTALLED_APPS = [
229
229
  "sessionprofile",
230
230
  "open_api_framework",
231
231
  PROJECT_DIRNAME,
232
+ # Django libraries
233
+ "upgrade_check",
232
234
  ]
233
235
 
234
236
  MIDDLEWARE = [
@@ -354,7 +356,7 @@ LOG_STDOUT = config(
354
356
  )
355
357
  LOG_LEVEL = config(
356
358
  "LOG_LEVEL",
357
- default="WARNING",
359
+ default="INFO",
358
360
  help_text=(
359
361
  "control the verbosity of logging output. "
360
362
  "Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.10.1
3
+ Version: 0.10.3
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -18,20 +18,17 @@ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
18
18
  Keywords: metapackage,dependencies,settings
19
19
  Classifier: Development Status :: 3 - Alpha
20
20
  Classifier: Framework :: Django
21
- Classifier: Framework :: Django :: 4.2
22
- Classifier: Framework :: Django :: 5.1
21
+ Classifier: Framework :: Django :: 5.2
23
22
  Classifier: Intended Audience :: Developers
24
23
  Classifier: Operating System :: Unix
25
24
  Classifier: Operating System :: MacOS
26
25
  Classifier: Operating System :: Microsoft :: Windows
27
- Classifier: Programming Language :: Python :: 3.9
28
- Classifier: Programming Language :: Python :: 3.11
29
26
  Classifier: Programming Language :: Python :: 3.12
30
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
- Requires-Python: >=3.9
28
+ Requires-Python: >=3.12
32
29
  Description-Content-Type: text/x-rst
33
30
  License-File: LICENSE
34
- Requires-Dist: django>=4.2.17
31
+ Requires-Dist: django>=5.2
35
32
  Requires-Dist: django-axes>=6.5.1
36
33
  Requires-Dist: django-cors-headers>=4.4.0
37
34
  Requires-Dist: django-markup>=1.8.1
@@ -60,6 +57,7 @@ Requires-Dist: flower>=2.0.1
60
57
  Requires-Dist: maykin-2fa>=1.0.1
61
58
  Requires-Dist: django-setup-configuration>=0.1.0
62
59
  Requires-Dist: django-sessionprofile>=3.0.0
60
+ Requires-Dist: django-upgrade-check>=1.1.0
63
61
  Provides-Extra: tests
64
62
  Requires-Dist: pytest; extra == "tests"
65
63
  Requires-Dist: pytest-django; extra == "tests"
@@ -82,7 +80,7 @@ Dynamic: license-file
82
80
  Open API Framework
83
81
  ==================
84
82
 
85
- :Version: 0.10.1
83
+ :Version: 0.10.3
86
84
  :Source: https://github.com/maykinmedia/open-api-framework
87
85
  :Keywords: metapackage, dependencies
88
86
 
@@ -1,4 +1,4 @@
1
- django>=4.2.17
1
+ django>=5.2
2
2
  django-axes>=6.5.1
3
3
  django-cors-headers>=4.4.0
4
4
  django-markup>=1.8.1
@@ -27,6 +27,7 @@ flower>=2.0.1
27
27
  maykin-2fa>=1.0.1
28
28
  django-setup-configuration>=0.1.0
29
29
  django-sessionprofile>=3.0.0
30
+ django-upgrade-check>=1.1.0
30
31
 
31
32
  [coverage]
32
33
  pytest-cov
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "open-api-framework"
7
- version = "0.10.1"
7
+ version = "0.10.3"
8
8
  description = "A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
9
9
  authors = [
10
10
  {name = "Maykin Media", email = "support@maykinmedia.nl"}
@@ -15,20 +15,17 @@ keywords = ["metapackage", "dependencies", "settings"]
15
15
  classifiers = [
16
16
  "Development Status :: 3 - Alpha",
17
17
  "Framework :: Django",
18
- "Framework :: Django :: 4.2",
19
- "Framework :: Django :: 5.1",
18
+ "Framework :: Django :: 5.2",
20
19
  "Intended Audience :: Developers",
21
20
  "Operating System :: Unix",
22
21
  "Operating System :: MacOS",
23
22
  "Operating System :: Microsoft :: Windows",
24
- "Programming Language :: Python :: 3.9",
25
- "Programming Language :: Python :: 3.11",
26
23
  "Programming Language :: Python :: 3.12",
27
24
  "Topic :: Software Development :: Libraries :: Python Modules",
28
25
  ]
29
- requires-python = ">=3.9"
26
+ requires-python = ">=3.12"
30
27
  dependencies = [
31
- "django>=4.2.17",
28
+ "django>=5.2",
32
29
  "django-axes>=6.5.1",
33
30
  "django-cors-headers>=4.4.0",
34
31
  "django-markup>=1.8.1",
@@ -57,6 +54,7 @@ dependencies = [
57
54
  "maykin-2fa>=1.0.1",
58
55
  "django-setup-configuration>=0.1.0",
59
56
  "django-sessionprofile>=3.0.0",
57
+ "django-upgrade-check>=1.1.0",
60
58
  ]
61
59
 
62
60
  [project.urls]
@@ -102,7 +100,7 @@ env = [
102
100
  ]
103
101
 
104
102
  [tool.bumpversion]
105
- current_version = "0.10.1"
103
+ current_version = "0.10.3"
106
104
  files = [
107
105
  {filename = "pyproject.toml"},
108
106
  {filename = "README.rst"},
@@ -39,7 +39,7 @@ Logging
39
39
  -------
40
40
 
41
41
  * ``LOG_STDOUT``: whether to log to stdout or not. Defaults to: ``True``.
42
- * ``LOG_LEVEL``: control the verbosity of logging output. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``WARNING``.
42
+ * ``LOG_LEVEL``: control the verbosity of logging output. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``INFO``.
43
43
  * ``LOG_QUERIES``: enable (query) logging at the database backend level. Note that you must also set ``DEBUG=1``, which should be done very sparingly!. Defaults to: ``False``.
44
44
  * ``LOG_REQUESTS``: enable logging of the outgoing requests. This must be enabled along with `LOG_OUTGOING_REQUESTS_DB_SAVE` to save outgoing request logs in the database. Defaults to: ``False``.
45
45
  * ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.
@@ -1,7 +1,6 @@
1
1
  from django.conf import settings
2
2
  from django.urls import reverse
3
3
 
4
- import requests_mock
5
4
  from django_webtest import WebTest
6
5
 
7
6
 
@@ -14,9 +13,8 @@ def test_sentry_settings():
14
13
  assert hasattr(settings, "SENTRY_DSN") is True
15
14
 
16
15
 
17
- @requests_mock.Mocker()
18
16
  class RosettaTests(WebTest):
19
- def test_rosetta_redirect_fails_with_lazy_login_url(self, m):
17
+ def test_rosetta_redirect_fails_with_lazy_login_url(self):
20
18
  response = self.app.get("/admin/rosetta/files/project/")
21
19
 
22
20
  expected_login_url = (