Skip to content

Update Python version requirement to 3.11#56

Merged
lematt1991 merged 3 commits intofacebookresearch:mainfrom
forensicmike:patch-1
Jan 5, 2026
Merged

Update Python version requirement to 3.11#56
lematt1991 merged 3 commits intofacebookresearch:mainfrom
forensicmike:patch-1

Conversation

@forensicmike
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Nice catch! Thanks @forensicmike!

@lematt1991 lematt1991 merged commit 68b48d4 into facebookresearch:main Jan 5, 2026
2 checks passed
Copy link
Copy Markdown

@teerawad020841 teerawad020841 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyproject.toml

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.

4 participants