OCA / server-auth

https://odoo-community.org/psc-teams/tools-30
GNU Affero General Public License v3.0
150 stars 403 forks source link

[15.0] auth_oidc: OpenID Connect fixes from 14.0 #583

Closed ap-wtioit closed 8 months ago

ap-wtioit commented 9 months ago

Forward port of fixes from #579

Info @wt-io-it

OCA-git-bot commented 9 months ago

Hi @sbidoul, some modules you are maintaining are being modified, check this out!

ap-wtioit commented 9 months ago

Trying to fix test errors by adding deleted test-requirements.txt with requests back to prevent:

2023-12-04 09:28:04,915 931 ERROR odoo odoo.tests.loader: Can not `import auth_oidc`. 
Traceback (most recent call last):
  File "/opt/odoo/odoo/tests/loader.py", line 29, in _get_tests_modules
    mod = importlib.import_module('.tests', modpath)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/__w/server-auth/server-auth/auth_oidc/tests/__init__.py", line 1, in <module>
    from . import test_auth_oidc_auth_code
  File "/__w/server-auth/server-auth/auth_oidc/tests/test_auth_oidc_auth_code.py", line 8, in <module>
    import responses
ModuleNotFoundError: No module named 'responses'

Edit: that fixed the tests for auth_oidc not running.

sbidoul commented 8 months ago

/ocabot merge nobump

OCA-git-bot commented 8 months ago

On my way to merge this fine PR! Prepared branch 15.0-ocabot-merge-pr-583-by-sbidoul-bump-nobump, awaiting test results.

OCA-git-bot commented 8 months ago

Congratulations, your PR was merged at 4c121af9b1c6b98909e8e87c0860884e7864d80e. Thanks a lot for contributing to OCA. ❤️