Open eine opened 3 years ago
Yep i noticed this as well, seems some python ports still use the original windows build locations where scripts is indeed located in the root of the directory eg. C:\python\scripts
Surprisingly, this is now working on CI if tox is installed through pip, but not through pacman. See https://github.com/eine/vunit/actions/runs/865359040 (https://github.com/eine/vunit/blob/ci/tox/.github/workflows/tox.yml). However, I cannot reproduce it locally. This is the error I get locally, on a fresh MSYS2 installation:
# tox -e py39-lint -- --color=yes
.package recreate: T:/vunit/vunit/.tox/.package
.package installdeps: setuptools >= 35.0.2, setuptools_scm >= 2.0.0, <3
ERROR: invocation failed (exit code 1), logfile: T:/vunit/vunit/.tox/.package/log/.package-2.log
================================================= log start ==================================================
running egg_info
writing vunit_hdl.egg-info/PKG-INFO
writing dependency_links to vunit_hdl.egg-info/dependency_links.txt
writing requirements to vunit_hdl.egg-info/requires.txt
writing top-level names to vunit_hdl.egg-info/top_level.txt
adding license file 'LICENSE.rst' (matched pattern 'LICEN[CS]E*')
error: [WinError 267] The directory name is invalid
================================================== log end ===================================================
ERROR: FAIL could not package project - v = InvocationError("T:/vunit/vunit/.tox/.package/bin/python C:/msys64/mingw64/lib/python3.8/site-packages/tox/helper/build_requires.py setuptools.build_meta '' ''", 1)
@naveen521kk @Biswa96 any guess?
Coming from #7014.
Steps for reproducing locally: https://github.com/msys2/MINGW-packages/issues/7014#issuecomment-724117458
/cc @danyeaw @gaborbernat