Skip to content

Conversation

@forensicmike
Copy link
Contributor

This change resolves an issue with running the project using uv for a virtual environment.

uv sync
    Updated https://github.com/facebookresearch/perception_models (e72b6810b1133e1c879f2cc965d276eb73803f1f)
    Updated https://github.com/facebookresearch/dacvae.git (414c20785fc3a28373073ea8ef7a1316eeeaca6e)
    Updated https://github.com/facebookresearch/ImageBind.git (53680b02d7e37b19b124fa37bae4b6c98c38f5be)
    Updated https://github.com/facebookresearch/pytorchvideo.git (6cdc929315aab1b5674b6dcf73b16ec99147735f)
  × No solution found when resolving dependencies:
  ╰─▶ Because the requested Python version (>=3.10) does not satisfy Python>=3.11 and perception-models==1.0.0 depends
      on Python>=3.11, we can conclude that perception-models==1.0.0 cannot be used.
      And because only perception-models==1.0.0 is available and your project depends on perception-models, we can
      conclude that your project's requirements are unsatisfiable.

      hint: The `requires-python` value (>=3.10) includes Python versions that are not supported by your dependencies
      (e.g., perception-models==1.0.0 only supports >=3.11). Consider using a more restrictive `requires-python` value
      (like >=3.11).

This change resolves an issue with running the project using `uv` for a virtual environment.

```
uv sync
    Updated https://github.com/facebookresearch/perception_models (e72b6810b1133e1c879f2cc965d276eb73803f1f)
    Updated https://github.com/facebookresearch/dacvae.git (414c20785fc3a28373073ea8ef7a1316eeeaca6e)
    Updated https://github.com/facebookresearch/ImageBind.git (53680b02d7e37b19b124fa37bae4b6c98c38f5be)
    Updated https://github.com/facebookresearch/pytorchvideo.git (6cdc929315aab1b5674b6dcf73b16ec99147735f)
  × No solution found when resolving dependencies:
  ╰─▶ Because the requested Python version (>=3.10) does not satisfy Python>=3.11 and perception-models==1.0.0 depends
      on Python>=3.11, we can conclude that perception-models==1.0.0 cannot be used.
      And because only perception-models==1.0.0 is available and your project depends on perception-models, we can
      conclude that your project's requirements are unsatisfiable.

      hint: The `requires-python` value (>=3.10) includes Python versions that are not supported by your dependencies
      (e.g., perception-models==1.0.0 only supports >=3.11). Consider using a more restrictive `requires-python` value
      (like >=3.11).
```
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 23, 2025
@lematt1991
Copy link
Contributor

Can you also update the README to reflect the change. It currently says python 3.10 under requirements section

claude and others added 2 commits January 3, 2026 13:23
Update minimum Python version from 3.10 to 3.11 in:
- README.md requirements section
- pyproject.toml requires-python
- pyproject.toml ruff target-version
Update Python version requirement to 3.11
@forensicmike
Copy link
Contributor Author

Hi @lematt1991 , this is done - I had Claude check for any other spots and it found the ruff version setting in pyproject.toml as well so I've added that to the PR.

@lematt1991
Copy link
Contributor

Nice catch! Thanks @forensicmike!

@lematt1991 lematt1991 merged commit 68b48d4 into facebookresearch:main Jan 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants