Re: Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Samuel Marks
On latest commit 5109b9069b62510ab6d0cc0c78a9ed8327d3986a `fd -epy | wc -l` shows 73 files. mesos/src/python/cli/src/mesos/http.py requires a trivial change to support Python 2 & 3. Everything else in that dir is fine. mesos/src/python/cli_new/lib/cli/util.py requires two lines to be conditioned

Re: Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Shatil Rafiullah
Do you require both Python 2 and 3 bindings to work, or can we make a clean migration to 3? I ask because there are breaking changes in C/C++ bindings going from 2 to 3, and supporting both will require conditionals rather than replacements of code blocks here and there. Dependencies may also end u

Re: Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Samuel Marks
The Python 3 upgrade shouldn't be too difficult; happy to help out. Make sure you duplicate your configuration so that CMake still works (happy to help there also). Just message (privately or publicly). Good to see interest in Mesos remaining, Samuel Marks Charity |

Re: Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Andreas Peters
Awesome, thanks so much Ben. :-) Am 12.01.24 um 23:55 schrieb Benjamin Mahler: As part of upgrading to CentOS 9 at X/Twitter, Shatil / Devin (cc'ed) will be working on: * Upgrading to Python 3 * Cgroups v2 support We will attempt to upstream this work for the benefit of other users. In addit

Re: Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Benjamin Mahler
+user@ On Fri, Jan 12, 2024 at 5:55 PM Benjamin Mahler wrote: > As part of upgrading to CentOS 9 at X/Twitter, Shatil / Devin (cc'ed) will > be working on: > > * Upgrading to Python 3 > * Cgroups v2 support > > We will attempt to upstream this work for the benefit of other users. > > In addition

Cgroups v2 + Python 3 + Upstreaming X/Twitter Patches

2024-01-12 Thread Benjamin Mahler
As part of upgrading to CentOS 9 at X/Twitter, Shatil / Devin (cc'ed) will be working on: * Upgrading to Python 3 * Cgroups v2 support We will attempt to upstream this work for the benefit of other users. In addition, we have several long-standing internal patches that should have been upstreame