Skip to content

befeleme/fedora-python-rebuild-status

Repository files navigation

Fedora Python Rebuild Status

Report of the progress of integration of the new Python version to future Fedora which can be found on GitHub Pages.

See: Fedora Python Rebuild Status

The engine of the page is a nightly GitHub Action run on a Fedora container which:

  • pulls all the relevant data from Python rebuild Copr and Fedora Rawhide Koji repositories (scripts/run.sh, repo configs: config/copr.repo, config/koji.repo)
  • for packages that failed to build, looks for their open bugzilla ticket URLs (scripts/bugzillas.py)
  • checks out the status of the published wheels for the top 360 packages from PyPI
  • fills in all the calculated bits into Jinja templates with Flask
  • creates static HTML pages with freezeyt (.github/workflows/ci.yaml)

The necessary packages are defined in requirements.txt.

License breakdown:

  • This repo is licensed under MIT.
  • templates/base.html and templates/wheels.html come from pyreadiness.org and are licensed under Apache-2.0.
  • wheels.py derives the data obtaining logic from pythonwheels.com and is licensed under BSD-2-Clause.

Running the page locally

  1. Install project requirements to a venv.

$ pip install -r requirements.txt

  1. You may want to change the wheels.py to fetch less than 360 packages when developing other pages.
  2. If you changed scripts loading data, you may want to rerun them to generate new files.

$ ./scripts/run.sh

  1. Run the flask app.

$ flask run

About

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •