Skip to content

Conversation

@datumbox
Copy link
Contributor

@datumbox datumbox commented Nov 8, 2022

Related to #6925

@datumbox datumbox added module: documentation other if you have no clue or if you will manually handle the PR in the release notes labels Nov 8, 2022
@datumbox datumbox changed the title Update minimum version to 3.7.2 Update minimum Python version to 3.7.2 Nov 8, 2022
| ``main`` / ``nightly`` | ``main`` / ``nightly`` | ``>=3.7.2``, ``<=3.10`` |
+--------------------------+--------------------------+---------------------------------+
| ``1.13.0`` | ``0.14.0`` | ``>=3.7``, ``<=3.10`` |
| ``1.13.0`` | ``0.14.0`` | ``>=3.7.2``, ``<=3.10`` |
Copy link
Member

Choose a reason for hiding this comment

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

Thanks @datumbox . Are we planning on a bugfix release soon? Otherwise it might be more accurate to leave this line untouched (and update the X in 0.14.X)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not aware of any bugfix releases any time soon. I think we should update the table to reflect that 3.7.0 won't work.

},
ext_modules=get_extensions(),
python_requires=">=3.7",
python_requires=">=3.7.2",
Copy link
Member

Choose a reason for hiding this comment

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

As I commented on #6925 (comment), I think there might be a more robust and future-proof way of handling the original failure.

I'm also wondering if it's safe for us to deviate from torch core's Python version requirements which seem to be set to 3.7.0 as well:

https://github.com/pytorch/pytorch/blob/8cb5c5543e92628782deb00dda78380076b89e66/setup.py#L214

@malfet could you please advise on this?

Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

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

LGTM. Please note, that in general we should be supporting newest patch revision

@datumbox datumbox merged commit f32600b into pytorch:main Nov 9, 2022
@datumbox datumbox deleted the docs/update_py_ver branch November 9, 2022 09:14
@NicolasHug
Copy link
Member

@malfet thanks for your input. Does that mean torch core and all other domain libraries need to update their Python lower bound?

@malfet
Copy link
Contributor

malfet commented Nov 9, 2022

@NicolasHug yes, but currently there is no good way to say, that we want to support say >=3.7.10, >=3.8.6, >=3.9.10 etc

See some discussion when similar OrderedDict dependency was introduced to the core: pytorch/pytorch#74087

facebook-github-bot pushed a commit that referenced this pull request Nov 14, 2022
Reviewed By: NicolasHug

Differential Revision: D41265201

fbshipit-source-id: e4d2e82beb296a8e3b7a2e395478f02fcf10773d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: documentation other if you have no clue or if you will manually handle the PR in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants