magnificent-arm-99553
11/06/2024, 11:33 PMpyflyte run --remote ...
and everything is working, but I notice that my .flyteignore
file is not being obeyed in --copy auto
mode, only all
. Is this the intended behavior? The function that lists the imported files isn't being passed the ignore_group object.magnificent-arm-99553
11/06/2024, 11:35 PMthankful-minister-83577
thankful-minister-83577
magnificent-arm-99553
11/07/2024, 6:23 PM--copy auto
, typically something we've relied on ignore files to deal with. And -v
makes is very obvious when a bunch of the file trees start with .venv/...
.
Unfortunately, all the pre-existing project tooling relies on the virtual environment being there, so moving it would be a whole project itself.thankful-minister-83577
thankful-minister-83577
magnificent-arm-99553
11/07/2024, 9:34 PMsite.getsitepackages()
is returning a list of paths that combine to a os.path.commonpath
that does not exist in the site packages list, so if os.path.commonpath(site_packages + [mod_file]) in site_packages_set
is always false.magnificent-arm-99553
11/07/2024, 9:34 PM>>> site.getsitepackages()
['/home/bennettrand/project/python/.venv/lib/python3.10/site-packages', '/home/bennettrand/project/python/.venv/local/lib/python3.10/dist-packages', '/home/bennettrand/project/python/.venv/lib/python3/dist-packages', '/home/bennettrand/project/python/.venv/lib/python3.10/dist-packages']
>>> os.path.commonpath(site.getsitepackages())
'/home/bennettrand/project/python/.venv'
>>> os.path.commonpath(site.getsitepackages()) in set(site.getsitepackages())
False
magnificent-arm-99553
11/07/2024, 11:05 PMthankful-minister-83577
magnificent-arm-99553
11/11/2024, 6:02 PMthankful-minister-83577
magnificent-arm-99553
11/11/2024, 11:58 PMthankful-minister-83577
magnificent-arm-99553
11/14/2024, 12:34 AMmagnificent-arm-99553
11/27/2024, 7:49 PM