[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
Karthik Nishanth added the comment: I made my version PEP440 (local version) compliant. Now I get an error in a different place and it makes more sense. [WinError 206] The filename or extension is too long: 'build\\bdist.win-amd64\\wheel\\...\\purelib\\pkg..-2.3.0+b0105812.1.preview-py3.9.eg

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
Karthik Nishanth added the comment: I use the same version of python on my local windows machine and in the VM. Since I am not explicitly upgrading setuptools in my scripts, I should expect the same error on my windows machine too, right? This also works on linux. The stacktrace also says t

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Christian Heimes
Christian Heimes added the comment: It looks like you version number is confusing setuptools and distutils. Setuptools even warns you about the invalid version number: UserWarning: The version specified ('2.3.0-pre-alpha-1+c8273a4c-1-preview') is an invalid version, this may not work as expe

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
Karthik Nishanth added the comment: Sorry, I did use the `setup` function from `from setuptools import setup` I marked the component as Distutils because I noticed setuptools called distutils internally in the stacktrace -- ___ Python tracker <

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Christian Heimes
Christian Heimes added the comment: distutils is a legacy package. setuptools is the successor of distutils. Could you please try again with setuptools? -- nosy: +christian.heimes ___ Python tracker ___

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
New submission from Karthik Nishanth : I am making a bdist_wheel for a private python binary module. `python setup.py bdist_wheel` fails on a very specific windows VM repeatedly. This works fine on both a regular windows machine & linux machines. Attached the complete distutils verbose logs.