Skip to content

dependabot failures with uv #1771

Description

@jku

These dependabot issues appeared when we started using the uv ecosystem in dependabot.yml

issue 1

dependabot ends up running this when updating cryptography:

uv pip compile --build-isolation --output-file\=install/requirements.txt --generate-hashes -P cryptography==48.0.0 install/requirements.in
  × No solution found when resolving dependencies:
  ╰─▶ Because sigstore==4.2.0 depends on cryptography>=42,<47 and
      cryptography==48.0.0, we can conclude that sigstore==4.2.0 cannot be used.
      And because you require sigstore==4.2.0, we can conclude that your
      requirements are unsatisfiable.

this means dependabot silently fails . While this particular command only tries to update requirements.txt (meaning the failure is "correct"), apparently this also blocks the pypproject.toml/uv.lock update -- or at least it's not appearing when expected?

issue 2

pydantic update also silently fails: this looks like a dependabot bug (but did not appear with pip) :

updater | 2026/05/13 15:39:16 ERROR <job_1365984690> Error processing pydantic (Dependabot::SharedHelpers::HelperSubprocessFailed)
2026/05/13 15:39:16 ERROR <job_1365984690> Traceback (most recent call last):
  File "/opt/python/run.py", line 18, in <module>
    print(hasher.get_dependency_hash(*args["args"]))
          ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/opt/python/lib/hasher.py", line 13, in get_dependency_hash
    hashes = hashin.get_package_hashes(
        dependency_name,
    ...<2 lines>...
        index_url=index_url
    )
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/site-packages/hashin.py", line 654, in get_package_hashes
    data = get_package_data(package, index_url, verbose)
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/site-packages/hashin.py", line 582, in get_package_data
    content = json.loads(_download(url))
                         ~~~~~~~~~^^^^^
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/site-packages/hashin.py", line 60, in _download
    r = urlopen(url)
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/urllib/request.py", line 187, in urlopen
    return opener.open(url, data, timeout)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/urllib/request.py", line 471, in open
    req = Request(fullurl, data)
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/urllib/request.py", line 290, in __init__
    self.full_url = url
    ^^^^^^^^^^^^^
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/urllib/request.py", line 316, in full_url
    self._parse()
    ~~~~~~~~~~~^^
  File "/usr/local/.pyenv/versions/3.14.2/lib/python3.14/urllib/request.py", line 345, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/pypi/pydantic-core/json'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions