xpra icon
Bug tracker and wiki

Opened 7 months ago

Closed 3 months ago

Last modified 7 days ago

#2290 closed task (fixed)

drop python2 support

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: core Version: 2.5.x
Keywords: Cc:

Attachments (1)

fault-handler.patch (1.7 KB) - added by Antoine Martin 3 months ago.
faulthandler doesn't work?

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 months ago by Antoine Martin

Status: newassigned

Started with a huge commit: r23802.

comment:2 Changed 3 months ago by Antoine Martin

Updates:

  • r23803 start removing gobject_compat module
  • r23804 remove gobject from gobject_compat module
  • r23805 remove gtk and gdk from gobject_compat module
  • r23806 remove buffer and Queue indirect import
  • r23807 don't use '_thread' module
  • r23808 absolute imports are the default in py3k - no need to explicitly ask for them

comment:3 Changed 3 months ago by Antoine Martin

Updates:

Last edited 3 months ago by Antoine Martin (previous) (diff)

comment:4 Changed 3 months ago by Antoine Martin

Things we can now take advantage of:

Last edited 3 months ago by Antoine Martin (previous) (diff)

Changed 3 months ago by Antoine Martin

Attachment: fault-handler.patch added

faulthandler doesn't work?

comment:5 Changed 3 months ago by Antoine Martin

Updates:

  • r23836 fix handling of 'help' command line argument for audio codec options
  • r23837 prefer matroskamux to webmmux if it is available
  • r23838 explicitly set daemon flag so we can always create subprocesses from the proxy instance
  • r23839 + r23841 we can assume os.cpu_count exists
  • r23840 expose sysconfig via xpra info
  • r23830 remove legacy .xpra location for log and socket dirs
  • r23831 remove old GI_TYPELIB_PATH setup code for sound pipelines
  • r23842 + r23843 + r23844 + r23845 + r23847: add more type hints (found this bug in the process: r23846)
  • r23832 + r23834: simplify
  • r23835 fixup
  • r23833: support notify2 instead of pynotify

comment:6 Changed 3 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Updates:

  • r23850 remove python2 moduleset
  • r23851 remove python2 compat code

This will do for now, we can add more as we go along.

comment:7 Changed 3 months ago by Antoine Martin

  • r23877 no need to call ord on byte string characters

comment:8 Changed 2 weeks ago by Antoine Martin

More: functions with dangerous default arguments: r24548 + r24549 + r24550.

comment:9 Changed 7 days ago by totaamwin32

win32 env setup script: r24674

Note: See TracTickets for help on using tickets.