Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Bump types-psycopg2 from 2.9.21.1 to 2.9.21.2 #14558

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 28, 2022

Bumps types-psycopg2 from 2.9.21.1 to 2.9.21.2.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner November 28, 2022 04:15
@dependabot dependabot bot added dependencies Pull requests from dependabot that update a dependency file python Pull requests that update Python code labels Nov 28, 2022
@DMRobertson
Copy link
Contributor

We seem to be missing importlib_resources??

+ poetry run synapse_homeserver --generate-keys -c .ci/sqlite-config.yaml
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/runner/work/synapse/synapse/synapse/app/homeserver.py", line 28, in <module>
    from synapse.api.urls import (
  File "/home/runner/work/synapse/synapse/synapse/api/urls.py", line 22, in <module>
    from synapse.config.homeserver import HomeServerConfig
  File "/home/runner/work/synapse/synapse/synapse/config/homeserver.py", line 16, in <module>
    from .api import ApiConfig
  File "/home/runner/work/synapse/synapse/synapse/config/api.py", line 20, in <module>
    from synapse.config._util import validate_config
  File "/home/runner/work/synapse/synapse/synapse/config/_util.py", line 16, in <module>
    import jsonschema
  File "/home/runner/.cache/pypoetry/virtualenvs/matrix-synapse-pswDeSvb-py3.7/lib/python3.7/site-packages/jsonschema/__init__.py", line 13, in <module>
    from jsonschema._format import FormatChecker
  File "/home/runner/.cache/pypoetry/virtualenvs/matrix-synapse-pswDeSvb-py3.7/lib/python3.7/site-packages/jsonschema/_format.py", line 11, in <module>
    from jsonschema.exceptions import FormatError
  File "/home/runner/.cache/pypoetry/virtualenvs/matrix-synapse-pswDeSvb-py3.7/lib/python3.7/site-packages/jsonschema/exceptions.py", line 14, in <module>
    from jsonschema import _utils
  File "/home/runner/.cache/pypoetry/virtualenvs/matrix-synapse-pswDeSvb-py3.7/lib/python3.7/site-packages/jsonschema/_utils.py", line 12, in <module>
    import importlib_resources as resources  # type: ignore
ModuleNotFoundError: No module named 'importlib_resources'
Error: Process completed with exit code 1.

@DMRobertson DMRobertson self-assigned this Nov 28, 2022
@DMRobertson
Copy link
Contributor

There's a recent release of poetry-core: https://github.com/python-poetry/poetry-core/releases/tag/1.4.0 It wouldn't surprise me if dependabot is using that and there's some weird bug in it which we've run into

@clokep
Copy link
Member

clokep commented Nov 28, 2022

(Removing from the queue since it seems @DMRobertson is on it.)

@DMRobertson
Copy link
Contributor

I've reported this to dependabot: dependabot/dependabot-core#6226

I also reached out to the poetry team, whose advice was that this looks like a dependabot bug too. Let's see what the dependabot team make of the report.

We can manually do these updates in the meantime if there's any huge pressure to do so.

@clokep
Copy link
Member

clokep commented Dec 1, 2022

@dependabot recreate

Bumps [types-psycopg2](https://github.com/python/typeshed) from 2.9.21.1 to 2.9.21.2.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-psycopg2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/types-psycopg2-2.9.21.2 branch from d7fd46c to a4ddd86 Compare December 1, 2022 13:56
@clokep clokep requested a review from a team December 1, 2022 14:02
@DMRobertson DMRobertson removed their assignment Dec 1, 2022
@DMRobertson
Copy link
Contributor

DMRobertson commented Dec 1, 2022

mypy looks happy. Merging without the rest of CI because this is a stubs-only package

@DMRobertson DMRobertson merged commit c61f1ef into develop Dec 1, 2022
@DMRobertson DMRobertson deleted the dependabot/pip/types-psycopg2-2.9.21.2 branch December 1, 2022 14:18
H-Shay pushed a commit that referenced this pull request Dec 13, 2022
Bumps [types-psycopg2](https://github.com/python/typeshed) from 2.9.21.1 to 2.9.21.2.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-psycopg2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests from dependabot that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants