Skip to content

Pysync does not consider python versions #41

@EricWebsmith

Description

@EricWebsmith

It looks like Pysync does not consider Python versions when upgrading numpy.

The latest numpy for Python 3.10 should be 2.2.6, not 2.3.1

logs:

Dependencies changed, re-running uv sync -U
  × No solution found when resolving dependencies for split (python_full_version == '3.10.*' and sys_platform == 'darwin'):
  ╰─▶ Because the requested Python version (>=3.10, <4) does not satisfy Python>=3.11 and numpy==2.3.1 depends on Python>=3.11, we can conclude that
      numpy==2.3.1 cannot be used.
      And because only numpy<=2.3.1 is available and your project depends on numpy>=2.3.1, we can conclude that your project's requirements are
      unsatisfiable.

      hint: The `requires-python` value (>=3.10, <4) includes Python versions that are not supported by your dependencies (e.g., numpy==2.3.1 only
      supports >=3.11). Consider using a more restrictive `requires-python` value (like >=3.11).
'uv sync -U' failed with non-zero exit status 1 (workdir=/Users/ericzhou/alternative/agv-driver)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions