Skip to content

Conversation

Abhishek-Dev09-zz
Copy link

Improve configure/release script to work of pinned requirements using github-pypi links.
Fixes : #2070 #2072
Signed-off-by: Abhishek Kumar [email protected]

It fixes the error like 'OSError: [Errno 18] Invalid cross-device link'

Signed-off-by: Abhishek Kumar <[email protected]>
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Thanks!
I am not clear about why you need to have requirements files for only one Python version.

etc/configure.py Outdated
vcmd += ['-qq']
# third parties may be in more than one directory
vcmd.extend(build_pip_dirs_args(tpp_dirs, root_dir))
# Window doesn't support link as extra-search-dir
Copy link
Member

Choose a reason for hiding this comment

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

Is there a link in the doc or a bug about this? Please add it there as a comment

Copy link
Author

Choose a reason for hiding this comment

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

i didn't get docs about this specifying same issue.

- requirements_base.txt contains common requirements installed on all platforms.
- requirements_win.txt, requirements_linux.txt, requirements_mac.txt and
requirements_posix.txt are os-specific requirements.
- requirements-py36_base.txt contains common requirements installed on all platforms.
Copy link
Member

Choose a reason for hiding this comment

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

What's the difference between a requirements files for 3.6, 3.7 and 3.8?

Copy link
Author

Choose a reason for hiding this comment

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

Requirements files difer in wheels that have native code like intbitset is diff for py36,py37,py38 and many such more wheels like extractcode-7z

@Abhishek-Dev09-zz
Copy link
Author

Abhishek-Dev09-zz commented Aug 26, 2020

Thanks!
I am not clear about why you need to have requirements files for only one Python version.

Because all requirement files differ in native wheels like intbitset . I use py36 to avoid confusion.

Also clarify and document complex for loop

Signed-off-by: Abhishek Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dev utility: Improve configure script to work of pinned requirements
3 participants