Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
totaam opened this issue Aug 27, 2014 · 16 comments
Closed

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

totaam opened this issue Aug 27, 2014 · 16 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 27, 2014

Issue migrated from trac ticket # 665

component: core | priority: major | resolution: fixed

2014-08-27 04:29:31: totaam created the issue


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:

  • 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

@totaam
Copy link
Collaborator Author

totaam commented Aug 27, 2014

2014-08-27 07:07:22: totaam changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Aug 27, 2014

2014-08-27 07:07:22: totaam changed owner from antoine to totaam

@totaam
Copy link
Collaborator Author

totaam commented Aug 27, 2014

2014-08-27 07:07:22: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 27, 2014

2014-08-27 13:00:02: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 27, 2014

2014-08-27 14:06:19: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 28, 2014

2014-08-28 15:35:00: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 29, 2014

2014-08-29 14:31:57: totaam commented


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

@totaam
Copy link
Collaborator Author

totaam commented Aug 29, 2014

2014-08-29 16:41:11: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Sep 11, 2014

2014-09-11 08:56:44: totaam commented


@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2014

2014-09-15 11:26:52: totaam changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2014

2014-09-15 11:26:52: totaam changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2014

2014-09-15 11:26:52: totaam commented


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

@totaam totaam closed this as completed Sep 15, 2014
@totaam
Copy link
Collaborator Author

totaam commented Nov 1, 2014

2014-11-01 06:36:18: totaam commented


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

@totaam
Copy link
Collaborator Author

totaam commented Apr 17, 2015

2015-04-17 03:48:58: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Apr 28, 2015

2015-04-28 06:02:46: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented May 2, 2015

2015-05-02 00:04:47: afarr commented


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant