ManderaGeneral / generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for ManderaGeneral for now.
https://pypi.org/project/generalpackager/
Apache License 2.0
0 stars 0 forks source link

Broken module names for editable installs #84

Closed Mandera closed 1 year ago

Mandera commented 1 year ago

Getting weird names from get_installed_modules_names() such as __editable___generalpackager_0_5_7_finder for every editable install

Seems related to external

That's also mentioning the previous issue I had in workflow

Mandera commented 1 year ago

Wasn't happening at first in my local windows env, I then:

Mandera commented 1 year ago

This is a great showcase for why

is needed

Mandera commented 1 year ago

Now the question is how do we temporarily ensure we don't use the bad version in the workflow? Used to have a necessities install step

but that's now moved to a generalpackager dependency. Now the issue with that is that we need the proper setuptools before we install generalpackager

Updating to actions/setup-python@v4 from v2 might solve it

Mandera commented 1 year ago

Didn't fix it. Version 56.0.0 is being used. I think this might be defined by the Python distribution which it's usually installed with, doesn't really matter though.

Let's re-instate the installing of necessities step

Mandera commented 1 year ago

Seems to work!