Bug 249337 - [meta] Ports broken by Python 2.7 End-of-Life and removal
Summary: [meta] Ports broken by Python 2.7 End-of-Life and removal
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on: 242494 244540 244541 244542 246013 247189 247342 249329 249382 249573 249582 249584 249586 249587 249589 249590 249593 249594 249596 249599 249601 249603 249604 249606 249607 249609 249612 249613 249614 249615 249616 249619 249620 249621 249622 249623 249624 249625 249628 249630 249632 249633 249638 249639 249641 249643 249645 249647 249651 249652 249655 249658 249660 249665 249668 249669 249671 249673 249674 249675 249676 249677 249678 249679 249682 249683 249684 249685 249686 249687 249688 249690 249691 249693 249697 249698 249699 249701 249703 249704 249705 249707 249708 249709 249712 249714 249715 249716 249717 249718 249719 249720 249721 249722 249724 249726 249727 249729 249740 249741 249742 249744 249745 249746 249747 249748 249749 249754 249755 249756 249757 249762 249763 249764 249765 249767 249768 249771 249774 249775 249777 249778 249780 249781 249783 249784 249785 249787 249788 249793 249794 249795 249797 249800 249802 249803 249804 249822 249828 249833 249834 249841 249851 249855 249856 249857 249858 249862 225543 226416 237776 245519 246978 247278 247308 249302 249341 249345 249534 249549 249550 249570 249576 249577 249580 249581 249583 249585 249588 249591 249592 249595 249597 249598 249600 249602 249605 249608 249610 249611 249617 249618 249626 249627 249629 249631 249634 249635 249636 249637 249640 249642 249644 249646 249648 249649 249650 249653 249654 249656 249657 249659 249661 249662 249663 249664 249666 249667 249670 249672 249680 249681 249689 249692 249694 249695 249696 249700 249702 249706 249710 249711 249713 249723 249725 249728 249730 249731 249732 249733 249734 249735 249736 249737 249738 249739 249743 249750 249751 249752 249753 249758 249759 249760 249766 249769 249770 249772 249773 249776 249779 249782 249786 249789 249790 249791 249792 249796 249798 249799 249801 249805 249806 249807 249808 249809 249810 249811 249812 249813 249814 249815 249816 249817 249818 249819 249820 249821 249823 249824 249825 249826 249827 249829 249830 249831 249832 249835 249836 249837 249838 249839 249840 249842 249843 249844 249845 249846 249847 249848 249849 249850 249852 249853 249854
Blocks: 249547
  Show dependency treegraph
 
Reported: 2020-09-15 15:16 UTC by Steve Wills
Modified: 2020-11-29 20:14 UTC (History)
8 users (show)

See Also:


Attachments
raw list of things that directly depend on python 2 (5.08 KB, text/plain)
2020-09-24 14:05 UTC, Steve Wills
no flags Details
info on python2 deps (5.90 KB, text/plain)
2020-09-24 16:49 UTC, Steve Wills
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Wills freebsd_committer 2020-09-15 15:16:21 UTC
Meta ticket for tracking issues and fixes related to removing lang/python27
Comment 1 Steve Wills freebsd_committer 2020-09-24 14:05:17 UTC
Created attachment 218241 [details]
raw list of things that directly depend on python 2

Here's a current raw list of things that directly depend on python 2.x. Some of these are already in progress, etc. just want to put the list here for the record.
Comment 2 Steve Wills freebsd_committer 2020-09-24 16:49:25 UTC
Created attachment 218245 [details]
info on python2 deps

I've generated bug reports for all the ports that I could find that directly depend on python 2. The goal was to ensure there are bugs for each of them for tracking purposes. My apologies for the brevity of these reports and the duplicate PRs.

And FWIW, here is a list of how many ports depend on each of these. In case it's useful, here's a histogram of the numbers:

0: 93
1: 105
2: 45
3: 16
4: 4
5: 4
6: 1
7: 2
8: 1
9: 1
11: 1
18: 1
29: 1
33: 1
36: 1
47: 1
99: 1

Point being, at the moment, there are a handful of more important ports (qt5-webengine, chromium, etc.) that are well known, and a larger number of ones which nothing or only a few things depend on.
Comment 3 Rainer Hurling freebsd_committer 2020-09-25 15:49:03 UTC
Comment on attachment 218241 [details]
raw list of things that directly depend on python 2

(Don't know if this PR is meant to be answered?)


I think, graphics/mapserver is a false positive. The port should build and run with Python 3.

MapServer itself more or less is ready for Python3 since 7.2.0-beta1 release (2018-05-09)[1]


[1] https://github.com/MapServer/MapServer/blob/branch-7-6/HISTORY.TXT
Comment 4 Steve Wills freebsd_committer 2020-09-25 17:17:13 UTC
(In reply to Rainer Hurling from comment #3)
Yes, see r549981
Comment 5 Rainer Hurling freebsd_committer 2020-09-25 17:30:51 UTC
(In reply to Steve Wills from comment #4)

Oops, yes. I have missed it, sorry ;)
Comment 6 Matthias Andree freebsd_committer 2020-11-29 20:14:14 UTC
What efforts are underway to evaluate and deploy python 2.x compatible interpreters, such as Tauthon, or someone else was mentioning PyPy?  Anyone aware of these?

I am asking for my port (mail/mailman) where upstream declined a Python 3.x migration and instead decided to write a new piece of software with a completely different architecture and requirements and feature set that was coincidentally dubbed mailman-3, but is not a viable migration path from mailman-2 for lack of features, lack of migration aids, and more. 
(Mailman is a mailing list driver with web front-end, archival, self-service and other features.)

I suspect there may be a few more ports that would otherwise have to go, and measuring branch lengths and counting leaves is not an appropriate metric to determine the importance of a port.  

We may only know we've expired one too many port when users shout at us in 2021, or, worse, silently turn away from FreeBSD.