Xpra: Ticket #665: drop compatibility with older versions of python / (py)gtk
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
Wed, 27 Aug 2014 06:07:21 GMT - Antoine Martin: owner, status, description changed
- owner
changed from Antoine Martin to Antoine Martin
- status
changed from new to assigned
- description
modified (diff)
Wed, 27 Aug 2014 12:00:01 GMT - Antoine Martin: description changed
- description
modified (diff)
Wed, 27 Aug 2014 13:06:18 GMT - Antoine Martin: description changed
- description
modified (diff)
Thu, 28 Aug 2014 14:35:00 GMT - Antoine Martin: description changed
- description
modified (diff)
Fri, 29 Aug 2014 13:31:56 GMT - Antoine Martin:
Minor fix in r7476: we cannot drop the "notify-startup-complete" capability.
Fri, 29 Aug 2014 15:41:11 GMT - Antoine Martin: description changed
- description
modified (diff)
Thu, 11 Sep 2014 07:56:43 GMT - 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)
Mon, 15 Sep 2014 10:26:51 GMT - Antoine Martin: status changed; resolution set
- status
changed from assigned to closed
- resolution
set to fixed
This is enough for now, Python 2.6 is here to stay as it is used in centos 6.x.
Sat, 01 Nov 2014 06:36:17 GMT - 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
Fri, 17 Apr 2015 02:48:57 GMT - Antoine Martin:
removed some old non-generic encoding compat code in r9031 + r9032 + r9033.
Tue, 28 Apr 2015 05:02:45 GMT - Antoine Martin:
See also: #843 (Xorg versions older than 1.6)
Fri, 01 May 2015 23:04:47 GMT - alas:
Don't really see anything to test here. Just for the sake of thoroughness though, will comment as looked at.
Sat, 23 Jan 2021 05:02:22 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/665