Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to modulegraph2 #4535

Open
htgoebel opened this issue Nov 15, 2019 · 8 comments
Open

Move to modulegraph2 #4535

htgoebel opened this issue Nov 15, 2019 · 8 comments
Assignees
Projects

Comments

@htgoebel
Copy link
Member

modulegraph2 is a complete rewrite of modulegraph (by the same author), using lessons learned in that project but with a complete new Python 3 code base and full test coverage.

modulegraph will no longer be maintained.

We need to identify our changes to modulegraph, identify which are relevant for modulegraph2 and port them over.

I marked this as "good first issue", since the changes are focused on a single part of the code, which has good code-coverage. I have not yet had a look at the code of modulegraph2, though, so I can not tell whether we need to change a lot.

When implementing this, you might need many cycles to get it right

  • please work on a separate branch, e.g. modulegraph2
  • run the test-suite locally on your system prior to pushing it anwhere
  • set up your personal travis-ci and appveyor and push there first
  • open the pull-request only when everything is fine and all tests pass in your travis-ci and appveyor.

This helps keeping our CI "credits" for your main development up to speed (it's slow anyway) until the code is ready. Thanks!

@htgoebel htgoebel added area:modulegraph good first issue This is a good issue if you want to start working on PyInstaller labels Nov 15, 2019
@htgoebel
Copy link
Member Author

htgoebel commented Apr 4, 2020

Modulegraph2 required Python 3.6, so we can only switch after dropping support for Python 3.5.
Homepage: https://modulegraph2.readthedocs.io/

@Legorooj
Copy link
Member

Legorooj commented Apr 22, 2020

@htgoebel I'd like to head this development branch if you don't mind. Once I've finished the hooks-contrib move of course - that won't need too much attention to run. Just issue triage and pr reviews.

@Legorooj Legorooj added this to To Do in modulegraph Apr 29, 2020
@Legorooj Legorooj self-assigned this Aug 11, 2020
@Legorooj Legorooj added this to the PyInstaller 4.1 milestone Aug 11, 2020
@Legorooj Legorooj moved this from To Do to In Progress in modulegraph Aug 11, 2020
@nehaljwani

This comment has been minimized.

@Legorooj

This comment has been minimized.

@htgoebel
Copy link
Member Author

@Legorooj We could start with this after PyInstaller 4.2 release, with also dropping support for Py 3.5 after PyI 4.2 release - see #5430
I remember you started working in modulegraph2 but stepped over some deficits or issues?!

@Legorooj
Copy link
Member

Yes, I started work and found quite a few bugs (most of which have been fixed now), plus modulegraph2 doesn't support python 3.5. I'm going to look into some solutions such as submodules and subclassing modulegraph instead of including our own copy that needs to be updated. I'll be starting work within the next week or two, and plan to have this ready to go for 4.3.

A lot of the edge cases that we bolted handlers for onto modulegraph1 are now supported by default in modulegraph2, so hopefully it should require minimal changes to get it working.

@bwoodsend bwoodsend removed this from the PyInstaller 5.0 milestone Apr 10, 2022
@aqeelat
Copy link

aqeelat commented Nov 4, 2022

Hi,
I came across this issue from https://goodfirstissue.dev/

I see that the last activity on this issue was a while ago. Is @Legorooj still working on it? If not, can I pick it up?

@bwoodsend bwoodsend removed the good first issue This is a good issue if you want to start working on PyInstaller label Nov 4, 2022
@bwoodsend
Copy link
Member

Contrary to the label, this really isn't a good first issue. And yes, Legorooj is still working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
modulegraph
  
In Progress
Development

No branches or pull requests

5 participants