-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Release Printrun 2.0.0 #1308
Release Printrun 2.0.0 #1308
Conversation
I guess now is better than never. |
The Windows instruction need some correction. Python 3.10 instead of 3.6, Fixes: #1252 |
Thanks, please go ahead and update the README with the new instructions. You know better than anyone how that works. |
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 have no objections to release, but do not follow the changes.
#1309 includes the update for readme.md and release_windows.bat (instruction changes). I made yesterday evening a successful print with the new artifact file from here. Lets make a new release. |
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.
Finally done, yay. Huge thanks to all.
@rockstorm101, @kliment |
Hi all,
|
Hi @a2k-hanlon, could you please check the macOS binaries produced by the current workflow and see if they work as expected? |
@rockstorm101 I have an Intel-based Mac (not Apple Silicon-based) running macOS 10.15.7 (Catalina), which is several major versions behind the latest, 13.2.1, as well as the version GitHub is currently using as the default macOS, 12 (Monterey). The current GitHub workflow-built binary crashes at startup on my machine due to what looks like a dynamic library incompatibility (error output below if you're interested), but that is understandable and doesn't surprise me at all since this binary is being built on a newer major macOS version. I can't update my own machine to macOS 12 unfortunately, but I could try to find a friend with a more up to date Mac in the next day or two to give the GitHub workflow built binary a try for us. For now, I did a local build of this PR branch with the same procedure as the GitHub workflow on python 3.10, and up to date dependencies, and that does run successfully on my machine. If you would like to include a build for macOS version 10.15 in the release, I can share the binary I built. Error output from running the GitHub-built binary on my machine:
|
Food for thought: Isn't the number of changes between the latest rc and this final release a little bit too much? |
Only a loud thinking... |
@hroncok, Last time I thought about it I got mixed feelings as I was one of the requester for a new release candidate and after that the project was more or less on hold. :) From the Windows perspective of Pronterface I think we have actual a better code as before. For Pronsole the user can compile the binaries manually within the release_windows.bat script. There I fond only two points that needs a bit rework. The stand alone program should not try to load custom button entries from the config file and the second point is that Pronsole should show all temperature values of a connected printer (for printer with more then one extruder and bed). Both do not harm the functionality for now. This is why I did not add the automated building via workflow now. This can be done in an future release. |
I see your point. It just feels wrong, but maybe it's the pragmatic thing to do anyway. |
I see your point too as Linux is a beast too with all the different distro version's and not to mention the macOS part as I just recognize again. |
First, thanks a lot @a2k-hanlon for your detailed test. Much appreciated.
I agree I guess, but we are where we are. It's taken more than 2 years for this next release, I see no issue with waiting just one more week :P. Or did I miss the point of the discussion here? Could we not simply add two more macOS runners to the current workflow? (from @a2k-hanlon's comment I'm assuming Python 3.10 is available on all of them). Something like: - os: [macos-latest]
+ os: [macos-10.15, macos-11, macos-12] I'd rather provide only the macOS 10.15 binary, if that's the only one we can test, than blindly provide untested stuff. But before that, there might be other people to ask for help. I'm I right in thinking that the binary from 10.15 won't work on 12? Please forgive my ignorance here. |
@rockstorm101, Regarding the workflow, this might be possible. It looks like it needs to be changed for both buildpackage-mac.yml and pypi-manylinux.yml. |
No worries, no offense taken.
Agreed, happy with that. |
I'll send a PR with those changes later today if no body beats me to it. Let's see if we can find beta-testers for them. |
Just a lurker here. In case you are looking for an easy way to test on different Mac OS X versions, you could take a look at Proxmox VMs. Nick Sherlock has a nice HOWTO to create them. |
To follow up, I wasn't able to find anyone with appropriate Macs to test drive builds on, sorry. Thanks for the suggestion @ascheucher. I'm not in a position to try running a VM on my computer right now but someone else is welcome to take a crack at it. |
Hi @neofelis2X, The language issue is kind of a expected information as the combination of English-Austria looks for me not as a correct combination. |
Can't thank you enough for that. Much appreciated.
Do you see any additional hints as of what is causing the error if you launch pronterface from the terminal? Do you get this same error on all versions? (I presume "yes" or "irrelevant", but just in case) I cannot reproduce the dark theme issue on my Linux box. This is what mine looks like on latest commit: |
On Windows I can see similar effects with System color settings and high contrast activated. Some of the color schemes are looking as well not good up to not readable (like the temperature text line below the gauges or colored custom buttons). Maybe it is worth to check and modify those settings. Pronterface don't have a own dark mode setup. |
Yes, this is definitely something specific to my machine. However, with the Feb21 release, this message does not appear. Apparently pronterface reads for some reason the 'AppleLocale' value. I don't know why it needs to do that, but it might be better of with the first entry of 'AppleLanguages'. Terminal 'defaults read -g' on my system gives:
Yes I get error with all three versions. I launched it from terminal in verbose mode and this message showed up: I then tried to set |
Thanks for this testing again. Given that neither me nor @a2k-hanlon got such error I would think this issue is something specific to your machine. No error trace related to Printrun I mean.
Ouch... not ideal. I hate to use my program-manager-hat here but, do you think we can leave this issue for a later point in time? Maybe open an issue with a screenshot of what the problem is and deal with it on a future 2.1 release? |
Hi @rockstorm101, For translation issue, we should open a separate issue for that. My feeling is, that there is maybe something with the workaround from issue #1154 (utils.py line 47 ff). This need some more investigation as For the dark mode issue, yes we should open a separate issue for this for a later investigation/improvements as this is something what is driven by operating system and selected colors (at least for Windows). So I think we put both to future improvements |
@neofelis2X Really appreciate your help testing these binaries on appropriate machines!
Oh, I have always gotten this Running from source:
Running from binary:
|
Okay, it's probably just some macOS feature that isn't cleaned up properly. Using Now I had a chance to do a quick run on an Apple M2 with macOS 13.2.1
|
Ouch hahaha. Interestingly I don't remember seeing any of that when I borrowed an iMac.
Well, that's great news, thanks for that. Though it seems we definitely need to look into GUI/theme user experience in the future. Also good to know the same binary seems to work on both architectures. |
First, thank you all for pushing this PR forward. I consider the two tasks preventing this merge now done. If no one argues against it, by the end of the week I'll be merging this PR. So please speak up now or get ready to celebrate a (long overdue) new release! |
Now that #928, #1171 have been dealt with and Windows side has been revamped (many thanks @DivingDuck) I believe we are in shape for finally releasing 2.0.0. Up for debate of course, please speak up if you know any show-stoppers.
Two things I can think of that'd be nice to do before releasing:
--
Fixes #1305
Fixes #1296
Fixes #1295
Fixes #1252