xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#665 closed task (fixed)

drop compatibility with older versions of python / (py)gtk

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 0.15
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

This is a tracker ticket for a number of changes which simplify the code and allow us to use new language features.

We will no longer support Python versions older than 2.6, and GTK older than 2.18, clients older than v0.12.6:

  • exception handling: r7445, r7444
  • assume capabilities are present (xpra v0.7.x or newer): r7315, r7314, r7313
  • added python version guard: r7310
  • packaging cleanups: r7311
  • remove old libav fork dec_avcodec: r7378, r7312, r7308, r7400
  • py3k compatible octal syntax: r7380
  • removed support for GTK older than 2.18: r7382, r7383, r7394
  • removed python 2.4 workarounds: r7425, r7426, r7427, r7428, r7380,
  • use python 2.6 with lock context construct: r7435
  • remove ImmutableSet: r7436
  • use any(..): r7305
  • assume the uuid module is present: r7437
  • remove maxdeque and use deque(maxlen=N) directly: r7438
  • assume fchmod is present: r7439
  • struct improvements: r7440
  • assume bytearray is present: r7441
  • use with open(..) context manager for accessing files: r7451
  • misc: r7450, r7449
  • Py_ssize_t is always defined for us already: r7454
  • require generic_window_types and raw_window_icons: r7468
  • drop compat with versions older than 0.12.6: r7468, r7469, r7470
  • make some cython modules mandatory: cyxor (r7480 + r7481), argb (r7482), cymaths (r7483)

Also related: #388 old qt code has been removed

Change History (12)

comment:1 Changed 5 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Antoine Martin
Status: newassigned

comment:2 Changed 5 years ago by Antoine Martin

Description: modified (diff)

comment:3 Changed 5 years ago by Antoine Martin

Description: modified (diff)

comment:4 Changed 5 years ago by Antoine Martin

Description: modified (diff)

comment:5 Changed 5 years ago by Antoine Martin

Minor fix in r7476: we cannot drop the "notify-startup-complete" capability.

comment:6 Changed 5 years ago by Antoine Martin

Description: modified (diff)

comment:7 Changed 5 years ago by Antoine Martin

  • more changes which will help with #90: r7556 + r7558.
  • as of r7567 we no longer need to apply the 2to3 for py3k compatibility! (see #90)
Last edited 5 years ago by Antoine Martin (previous) (diff)

comment:8 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

This is enough for now, Python 2.6 is here to stay as it is used in centos 6.x.

comment:9 Changed 5 years ago by Antoine Martin

more:

  • context manager for X11 errors in r8001
  • remove static builds in r8021
  • remove set_tooltip_text wrapper in r8066
  • remove old csc video option attribute in r8110
  • remove old exception syntax in r8137
  • remove old x11 window type code: r8236
Last edited 5 years ago by Antoine Martin (previous) (diff)

comment:10 Changed 5 years ago by Antoine Martin

removed some old non-generic encoding compat code in r9031 + r9032 + r9033.

Last edited 5 years ago by Antoine Martin (previous) (diff)

comment:11 Changed 5 years ago by Antoine Martin

See also: #843 (Xorg versions older than 1.6)

comment:12 Changed 5 years ago by alas

Don't really see anything to test here. Just for the sake of thoroughness though, will comment as looked at.

Note: See TracTickets for help on using tickets.