pyinstaller / pyinstaller/pyinstaller

Order of hooks is not deterministic

Open
#2,435 0 comments 0 reactions 1 assignee View on GitHub

@Legorooj is already working on this.

Since Aug 1, 2020.

version:3.2.1
Dominant language
Python
Stars
13.1k
Forks
2k
Avg merge
1d 3h
Merged PRs (30d)
11

Description

Todo: make up our mind whether this may be a problem.

Example: First run:

$ py.test tests/functional/test_import.py  -v -k import_metapath1[onedir -s 2>&1 | grep hook-
5879 INFO: Loading module hook "hook-encodings.py"...
5956 INFO: Loading module hook "hook-distutils.py"...
5958 INFO: Loading module hook "hook-pydoc.py"...
5960 INFO: Loading module hook "hook-pyi_testmod_metapath1.py"...
5971 INFO: Loading module hook "hook-xml.py"...

Second run:

$ py.test tests/functional/test_import.py  -v -k import_metapath1[onedir -s 2>&1 | grep hook-
5830 INFO: Loading module hook "hook-pydoc.py"...
5832 INFO: Loading module hook "hook-encodings.py"...
5909 INFO: Loading module hook "hook-pyi_testmod_metapath1.py"...
5920 INFO: Loading module hook "hook-xml.py"...
6361 INFO: Loading module hook "hook-distutils.py"...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.