jpype-project / jpype

JPype is cross language bridge to allow Python programs full access to Java class libraries.
http://www.jpype.org
Apache License 2.0
1.12k stars 183 forks source link

fix pyinstaller get_hook_dirs error #1145

Closed wenfer closed 11 months ago

wenfer commented 1 year ago

pyinstall:4.5.1 pyinstaller-hooks-contrib 2023.7

discover_hook_directories: Failed to process hook entry point 'hook-dirs = jpype._pyinstaller.entry_points:get_hook_dirs': expected str, bytes or os.PathLike object, not PosixPath

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (7363ce8) 87.84% compared to head (35de3e1) 87.84%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1145 +/- ## ======================================= Coverage 87.84% 87.84% ======================================= Files 112 112 Lines 10276 10276 Branches 4032 4032 ======================================= Hits 9027 9027 Misses 698 698 Partials 551 551 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

marscher commented 12 months ago

Thank you for your contribution. How do I test this? I have to admit, that I've never used pyinstaller before.

wenfer commented 11 months ago

Thank you for your contribution. How do I test this? I have to admit, that I've never used pyinstaller before.

i don't know how make it re happen, i just meet it once and fixed it,maybe it's a dependency conflict