GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fedora-python/portingdb: Database & tools to track Python 2 removal from Fedora

BranchesTags
Open more actions menu

Latest commit

 

History

2,020 Commits
2,020 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
dnf-plugins
dnf-plugins
 
 
docs
docs
 
 
portingdb
portingdb
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README
README
 
 
README.md
README.md
 
 
elsasite.py
elsasite.py
 
 
setup.py
setup.py
 
 
wsgi.py
wsgi.py
 
 

Repository files navigation

A database of packages that still need Python 2 in Fedora, and tools to manage it.

This software is a mess. It was created for one purpose and was expected to not be needed soon. Meanwhile, hacks are piling on.

Deployed report

A HTML report is located at:

https://fedora.portingdb.xyz/

Unless you want to refresh data there, or run additional reports, you can just look at that.

Installation

This software is not released. To install it, first set up a Python virtual environment with Python 3.7+. Then run directly from Git working directory:

(venv) $ pip install --editable .  # Mind the dot at the end!

Usage

To start a HTML report server, start:

(venv) $ export PYTHONPATH=.
(venv) $ python -m portingdb serve

Check drops

There is a script that checks what python2 packages can be dropped from Fedora during the Mass Python 2 Package Removal.

Change your Python virtual environment to include system side packages:

(venv) $ cat venv/pyvenv.cfg
...
include-system-site-packages = true
...

Reactivate if needed:

(venv) $ deactivate
$ . venv/bin/activate

And run it with:

(venv) $ python -m portingdb --datadir data/ check-drops

See the docstring of portingdb/check_drops.py for more info.

Freezing

A static website with the HTML repot can be build by:

(venv) $ export PYTHONPATH=.
(venv) $ python elsasite.py freeze

You can add --serve for he freeze command to immediately inspect the result.

Contribute

  • A guide for updating the data is in docs/.
  • Issue Tracker: https://github.com/fedora-python/portingdb/issues
  • Source Code: https://github.com/fedora-python/portingdb

License

This code is under the MIT license. May it serve you well.

About

Database & tools to track Python 2 removal from Fedora

fedora.portingdb.xyz

Topics

fedoragit-scrapingpython2-python3

Resources

Readme
MIT license
Activity
Custom properties

Stars

31 stars

Watchers

10 watching

Forks

36 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.