[ 
https://issues.apache.org/jira/browse/BEAM-10227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130938#comment-17130938
 ] 

Valentyn Tymofieiev commented on BEAM-10227:
--------------------------------------------

Also filed: https://github.com/pypa/packaging/issues/314

> python_version qualifiers are ignored for typing dependency.
> ------------------------------------------------------------
>
>                 Key: BEAM-10227
>                 URL: https://issues.apache.org/jira/browse/BEAM-10227
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Assignee: Valentyn Tymofieiev
>            Priority: P2
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {noformat} 
> :~$ docker -- run -it --entrypoint=/bin/bash  
> gcr.io/cloud-dataflow/v1beta3/python3:2.22.0
> root@bcd3693fbfa1:/# python --version
> Python 3.5.9
> root@bcd3693fbfa1:/#  pip install 'typing; python_version < "3.5"'
> Ignoring typing: markers 'python_version < "3.5"' don't match your environment
> root@bcd3693fbfa1:/#  pip install 'typing; python_version < "3.5.3"'
> Collecting typing
>   Downloading typing-3.7.4.1-py3-none-any.whl (25 kB)
> Installing collected packages: typing
> Successfully installed typing-3.7.4.1
> {noformat} 
> The second download should not be happening according to the expressed 
> intent, but it does. using python_full_version fixes that. See also: 
> https://www.python.org/dev/peps/pep-0508/. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to