ofek / ofek/pyapp

Try to create a GHA with pyapp 0.29.0, to build a (embbeded) win/exe ... [RESOLVED]

Open
#213 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2k
Forks
65
PR merge metrics
No merged PRs in 30d

Description

INTRODUCE ME :

I'm working on http://github.com/manatlan/reqman ...
I already release a windows executable, thru a GHA with pyinstaller.
I've red this : https://www.infoworld.com/article/4030697/pyapp-an-easy-way-to-package-python-apps-as-executables.html
and wanted to try the "pyapp" system (to replace the pyinstaller version)
I'm not really a specialist of rust, of windows .. and GHA.
So I asked gemini-pro(thru jules) to create a GHA for me, with pyapp 0.29.0:
Here it is : https://github.com/manatlan/reqman/blob/master/.github/workflows/build_win_pyapp_test.yml

MY PROBLEM:

It's not working OOTB, see here:

https://github.com/manatlan/reqman/actions/runs/18615821245/job/53080192148

the relevant errors seems to be related to :

error: failed to run custom build command for `pyapp v0.29.0 (D:\a\reqman\reqman\pyapp-0.29.0)`
Caused by:
  process didn't exit successfully: `D:\a\reqman\reqman\pyapp-0.29.0\target\release\build\pyapp-00a08bb2fffbcc62\build-script-build` (exit code: 101)
  --- stdout
  cargo:rustc-env=PYAPP_PROJECT_DEPENDENCY_FILE=
  cargo:rustc-env=PYAPP__PROJECT_DEPENDENCY_FILE_NAME=
  --- stderr
  thread 'main' panicked at build.rs:645:13:
  Project path is not a file: dist/reqman-0.0.0-py3-none-any.whl

Can anyone point me to the right direction ?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with .github/workflows/build_win_pyapp_test.yml and the linked GitHub Actions job, then trace how the workflow is expected to produce dist/reqman-0.0.0-py3-none-any.whl before pyapp v0.29.0 runs. Done means the Windows workflow completes and produces the intended executable without the missing-project-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python, rust
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.