pas.plugins.oidc 2.0.0rc1__tar.gz → 2.0.0rc2__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 (84) hide show
  1. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/CHANGELOG.md +13 -0
  2. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/PKG-INFO +4 -4
  3. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/README.md +3 -3
  4. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/pyproject.toml +1 -0
  5. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/__init__.py +1 -1
  6. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/docker-compose.yml +1 -1
  7. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/keycloak/Dockerfile +1 -1
  8. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/.gitignore +0 -0
  9. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/CONTRIBUTORS.md +0 -0
  10. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/LICENSE.GPL +0 -0
  11. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/LICENSE.md +0 -0
  12. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/dependabot.yml +0 -0
  13. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/Makefile +0 -0
  14. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/_static/allowedgroups1.png +0 -0
  15. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/_static/allowedgroups2.png +0 -0
  16. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/_static/allowedgroups3.png +0 -0
  17. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/_static/icon.png +0 -0
  18. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/conf.py +0 -0
  19. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/index.md +0 -0
  20. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/pyproject.toml +0 -0
  21. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/robots.txt +0 -0
  22. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/screenshot-settings.png +0 -0
  23. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/docs/uv.lock +0 -0
  24. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/instance.yaml +0 -0
  25. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/__init__.py +0 -0
  26. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/__init__.py +0 -0
  27. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/browser/__init__.py +0 -0
  28. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/browser/configure.zcml +0 -0
  29. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/browser/view.py +0 -0
  30. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/configure.zcml +0 -0
  31. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/__init__.py +0 -0
  32. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/classic.py +0 -0
  33. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/configure.zcml +0 -0
  34. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/deserializer.py +0 -0
  35. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/oidc.py +0 -0
  36. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/controlpanel/serializer.py +0 -0
  37. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/interfaces.py +0 -0
  38. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/__init__.py +0 -0
  39. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/__main__.py +0 -0
  40. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/de/LC_MESSAGES/pas.plugins.oidc.po +0 -0
  41. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/en/LC_MESSAGES/pas.plugins.oidc.po +0 -0
  42. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/es/LC_MESSAGES/pas.plugins.oidc.po +0 -0
  43. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/locales/pas.plugins.oidc.pot +0 -0
  44. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/plugins.py +0 -0
  45. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/profiles/default/browserlayer.xml +0 -0
  46. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/profiles/default/controlpanel.xml +0 -0
  47. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/profiles/default/metadata.xml +0 -0
  48. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/profiles/uninstall/browserlayer.xml +0 -0
  49. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/__init__.py +0 -0
  50. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/configure.zcml +0 -0
  51. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/login/__init__.py +0 -0
  52. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/login/configure.zcml +0 -0
  53. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/login/get.py +0 -0
  54. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/oidc/__init__.py +0 -0
  55. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/oidc/configure.zcml +0 -0
  56. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/services/oidc/oidc.py +0 -0
  57. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/session.py +0 -0
  58. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/setuphandlers.py +0 -0
  59. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/testing.py +0 -0
  60. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/upgrades/__init__.py +0 -0
  61. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/upgrades/configure.zcml +0 -0
  62. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/utils.py +0 -0
  63. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/src/pas/plugins/oidc/www/oidcPluginForm.zpt +0 -0
  64. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/conftest.py +0 -0
  65. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/controlpanel/conftest.py +0 -0
  66. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/controlpanel/test_controlpanel_api.py +0 -0
  67. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/functional/conftest.py +0 -0
  68. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/functional/test_controlpanel_classic.py +0 -0
  69. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/functional/test_functional.py +0 -0
  70. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/keycloak/import/.gitkeep +0 -0
  71. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/keycloak/import/plone-realm.json +0 -0
  72. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/keycloak/import/plone-test-realm.json +0 -0
  73. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/plugin/test_plugin.py +0 -0
  74. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/conftest.py +0 -0
  75. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/test_services_login_get.py +0 -0
  76. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/test_services_login_get_multiple_plugins.py +0 -0
  77. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/test_services_login_with_allowed_groups.py +0 -0
  78. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/test_services_oidc_get.py +0 -0
  79. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/services/test_services_oidc_post.py +0 -0
  80. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/setup/test_setup_install.py +0 -0
  81. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/setup/test_setup_uninstall.py +0 -0
  82. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/utils/test_utils_flow.py +0 -0
  83. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/utils/test_utils_str.py +0 -0
  84. {pas_plugins_oidc-2.0.0rc1 → pas_plugins_oidc-2.0.0rc2}/tests/utils/test_utils_url.py +0 -0
@@ -9,6 +9,19 @@
9
9
 
10
10
  <!-- towncrier release notes start -->
11
11
 
12
+ ## 2.0.0rc2 (2025-03-26)
13
+
14
+
15
+ ### Internal:
16
+
17
+ - Add environment variable KEYCLOAK_VERSION to allow choosing which version of Keycloak will be used @ericof
18
+ - GHA: Do not fail fast during CI tests. @ericof
19
+
20
+
21
+ ### Documentation:
22
+
23
+ - Update README to refer to using uv instead of tox @ericof
24
+
12
25
  ## 2.0.0rc1 (2025-03-26)
13
26
 
14
27
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pas.plugins.oidc
3
- Version: 2.0.0rc1
3
+ Version: 2.0.0rc2
4
4
  Summary: OIDC support for Plone sites
5
5
  Project-URL: Homepage, https://github.com/collective/pas.plugins.oidc
6
6
  Project-URL: PyPI, https://pypi.org/project/pas.plugins.oidc
@@ -391,7 +391,7 @@ make format
391
391
 
392
392
  ### Run tests
393
393
 
394
- Testing of this package is done with [`pytest`](https://docs.pytest.org/) and [`tox`](https://tox.wiki/).
394
+ Testing of this package is done with [`pytest`](https://docs.pytest.org/).
395
395
 
396
396
  Run all tests with:
397
397
 
@@ -402,13 +402,13 @@ make test
402
402
  Run all tests but stop on the first error and open a `pdb` session:
403
403
 
404
404
  ```bash
405
- ./bin/tox -e test -- -x --pdb
405
+ uv run pytest -x --pdb
406
406
  ```
407
407
 
408
408
  Run tests named `TestServiceOIDCPost`:
409
409
 
410
410
  ```bash
411
- ./bin/tox -e test -- -k TestServiceOIDCPost
411
+ uv run pytest -k TestServiceOIDCPost
412
412
  ```
413
413
 
414
414
  ## References
@@ -338,7 +338,7 @@ make format
338
338
 
339
339
  ### Run tests
340
340
 
341
- Testing of this package is done with [`pytest`](https://docs.pytest.org/) and [`tox`](https://tox.wiki/).
341
+ Testing of this package is done with [`pytest`](https://docs.pytest.org/).
342
342
 
343
343
  Run all tests with:
344
344
 
@@ -349,13 +349,13 @@ make test
349
349
  Run all tests but stop on the first error and open a `pdb` session:
350
350
 
351
351
  ```bash
352
- ./bin/tox -e test -- -x --pdb
352
+ uv run pytest -x --pdb
353
353
  ```
354
354
 
355
355
  Run tests named `TestServiceOIDCPost`:
356
356
 
357
357
  ```bash
358
- ./bin/tox -e test -- -k TestServiceOIDCPost
358
+ uv run pytest -k TestServiceOIDCPost
359
359
  ```
360
360
 
361
361
  ## References
@@ -215,4 +215,5 @@ targets = "src"
215
215
  exclude_dirs = ["tests", "src/pas/plugins/oidc/locales"]
216
216
 
217
217
  [tool.zest-releaser]
218
+ upload-pypi = false # Build and upload with uv
218
219
  python-file-with-version = "src/pas/plugins/oidc/__init__.py"
@@ -10,7 +10,7 @@ import logging
10
10
  PACKAGE_NAME = "pas.plugins.oidc"
11
11
  PLUGIN_ID = "oidc"
12
12
 
13
- __version__ = "2.0.0rc1"
13
+ __version__ = "2.0.0rc2"
14
14
 
15
15
  _ = MessageFactory(PACKAGE_NAME)
16
16
 
@@ -3,7 +3,7 @@ services:
3
3
  build:
4
4
  context: keycloak
5
5
  args:
6
- KEYCLOAK_VERSION: 22.0.0
6
+ KEYCLOAK_VERSION: ${KEYCLOAK_VERSION:-22.0.0}
7
7
  command: ['start-dev', '--import-realm']
8
8
  depends_on:
9
9
  - db
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1
2
2
  ARG KEYCLOAK_VERSION
3
- FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION as builder
3
+ FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION AS builder
4
4
 
5
5
  # Configure postgres database vendor
6
6
  ENV KC_DB=postgres