#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 )
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
forkdec_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 usedeque(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
andraw_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 (13)
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to Antoine Martin |
Status: | new → assigned |
comment:2 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 7 years ago by
comment:6 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:8 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is enough for now, Python 2.6 is here to stay as it is used in centos 6.x.
comment:10 Changed 6 years ago by
comment:12 Changed 6 years ago by
Don't really see anything to test here. Just for the sake of thoroughness though, will comment as looked at.
comment:13 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/665
Note: See
TracTickets for help on using
tickets.
Minor fix in r7476: we cannot drop the "notify-startup-complete" capability.