-
Notifications
You must be signed in to change notification settings - Fork 36
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
Py3 qt5 el8 #64
base: master
Are you sure you want to change the base?
Py3 qt5 el8 #64
Conversation
2d8671f
to
fc8459f
Compare
Rebased to current HEAD. |
BuildRequires: python | ||
Source0: %{name}-%{version}-%{release}.tar.xz | ||
BuildRequires: python3 | ||
Source0: %{name}-%{version}-%{release}.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure whatever you want a .gz
or .xz
tarball here
@@ -1,32 +1,31 @@ | |||
%global libwacom_ver 1.11 | |||
%global libwacom_ver 2.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On EL8 I currently get a libwacom-1.6-3.el8.x86_64
- don't know whatever the version is important here?
Trying this PR on ubuntu 22 [WM: gnome] - i got the following message: Unknown Device: "Device information for Any clue what I am missing> the device is detected by gnome. |
@@ -36,7 +37,7 @@ def __init__(self): | |||
def get_connected_tablets(self): | |||
# check if tablet is actually detected | |||
p = subprocess.Popen("xsetwacom --list devices", shell=True, stdout=subprocess.PIPE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@epifanio - phew, I am a little out of my depth with the whole wacom stuff - the oldest device I can test is Indous4.
That said, please check your python version. If it is py3.7+, you might want to add text=True
as a named param here. Also see my fist comment in the PR.
EL8 ships with 3.6; here Popen() does not need this param. Please report back if this works for you or not. If so, we'll need to refactor the all Popen() calls and check for python version.
Side note, you are really my favourite, python!
Apologies for the lack of my response on this, work has been rather hectic and I haven't had the time to fully test out a release. My goal is to target support based on the VFX Reference platform (https://vfxplatform.com/), although it does put it at odds with OS-stable releases (ie. EL8 being based on Py3.6). As well, given EL8 is now effectively EoL with EL9's release imminent it may be easier to just target Py3.9 and see how backwards compatible it is. I have a conversion I started testing but I've been hitting edge cases that I don't quite feel comfortable releasing as of yet. Your build appears to be hitting similar issues to what I have unfortunately and I'd like to try and avoid putting in hacky per-python release coding, if possible. The alternative is to have the release be compiled based on the install to "hide" the python release aspects but then it would cause the install to break if the user upgrades their python release at a later date. |
@tb2097 - no worries!
El8 is not effectively EOL, far from it. I expect EL9 in production for VFX-Shops in maybe five years give or take as most of them now only transitioning from EL7; may I present your own wacom-gui as evidence. Currently I see only issues with |
Just so you know, your PR removes the
There is also the matter of needing I have a patched version of As it is, the following is my rather informally-sent patch:
|
Had the same issue with a Bamboo one.
|
This is based on #40 and fixes all issues with it to run on EL8; python 3.6. With python3.7 there may be changes needed to all
Popen()
- calls (text=True
).Fixes:
I build an RPM; released in my fork.
Warning, the RPM above is still based on
0.3.0-rc13
form last year. The current branch is rebased; haven't tested it tough.