Skip to content

Regression tests for Nuitka against PyPI changes and Nuitka changes, you can clone this repo and contribute compilation reports

Notifications You must be signed in to change notification settings

KRRT7/Nuitka-Watch

 
 

Repository files navigation

Nuitka Watch

This repository's intention is twofold, to detect PyPI package updates that break Nuitka compatibility, and to check if Nuitka is working with them, and for Nuitka updates, if it still handles everything in a good way.

One main goal is to detect scipy, torch, etc. breaking on a platform with Nuitka due to DLL changes right away, and not have to wait until users reports it, and then probably not in the correct fashion. Packages covered here have a chance to generate automatic reports when they break, right after they break.

The goal is to detect regressions inside the Nuitka plugin mechanisms and standalone capabilities automatically. DLLs not included anymore, anti-bloat changes that do not apply anymore, and of course code enhancements in Nuitka that fail to neglect all cases into account and break existing stuff. Report generation of Nuitka is constantly improved for making this coverage possible.

And another important goal, is to do all of that in a distributed and automated fashion, because there is no way for one user to compile everything on all platforms for every release of Nuitka and for every PyPI package. Right now due to generous support from Microsoft, we can use Azure machines that are able to keep up.

The nuitka-watch tool will scan for installed Pythons. Right now you are expected to install the dependencies in the requirement file, to make it suitable for testing. We might enable it to do this automatically. Basically, it pulls in the supported version of pipenv for a given Python.

# Go to the base of this repository, may also go to sub-folders to
# benefit from the structure.
cd Nuitka-watch

# For each python used:
python -m pip install -r requirements.txt

# Execute Nuitka watch in latest version (factory branch) against e.g.
# a hotfix in Nuitka-develop with only 3.10 being done, but no PyPI updates.
# python3 ../Nuitka-factory/bin/nuitka-watch --python-version=3.10 --no-pipenv-update --nuitka-binary=../Nuitka-develop/bin/nuitka
./nuitka-release.sh

# Execute Nuitka watch in latest version (factory branch) against e.g.
# a stable version in Nuitka-develop with only 3.10 being done, and
# also PyPI updates, which may break Nuitka potentially.
# python3 ../Nuitka-factory/bin/nuitka-watch --python-version=3.10 --nuitka-binary=../Nuitka-develop/bin/nuitka
./pypi-update.sh

About

Regression tests for Nuitka against PyPI changes and Nuitka changes, you can clone this repo and contribute compilation reports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.5%
  • QML 27.7%
  • Shell 4.8%