Python 3.8 - alpha release
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Bernard Boase (169) 208 posts |
If I back up Python 3.8 to my NAS (LanMan98 or LanManFS SMB) it chokes at !Python3.Lib.test.testtar/tar./ !Python3.Lib.test.testtar/tar././ because ‘/’ translates as dot, and a single dot is not a valid file or directory in the output. Are these directories actually needed? |
Chris Johns (8262) 242 posts |
I think it’s just test data for the tests (which I don’t think work on RISC OS at the moment for other reasons) I would say not. |
Chris Johns (8262) 242 posts |
I’ve put another set of packages up for python and pip. I’ve not got around to pygame yet. As I have limited time for testing I’d appreciate any feedback, bugs comments etc. |
Doug Webb (190) 1180 posts |
Hi Chris, I assume you mean the 12th Nov packages as I installed the latest Python38 today via Packman and installed/upgraded pip as well. I have been using Sargasso and YTPlay 3.00RC1 to search and play a number of YouTuibe videos all OK today. I just have to be careful not to have Python27 being seen or the older standalone YTSearch/youtube_dl apps as it stops Python38 working correctly. Anyway thanks for all your efforts. Doug |
Raik (463) 2061 posts |
@Doug |
Andrew McCarthy (3688) 606 posts |
Thank you for the updates – 3.8.5-4, pip 20.0.2-3 and RISC OS 5.29 15-Nov-20 Errors in relation to installing numpy via pip
|
Chris Gransden (337) 1207 posts |
Only pure python modules will install via pip. |
Chris Johns (8262) 242 posts |
Yes. I am working on getting compiled modules to work but it’s not there yet. Various things aren’t as pip expects them – one big one is the c files need to be “c.foo” (ie. ‘foo’ in a directory ‘c’) which is rather unique to RISC OS. From that error report it looks like there unsetenv is getting upset being given ‘bytes’ too, so I had best look at that. I /thought/ I’d fixed it already but evidently not it seems :) You should be able to use "pip38 … " rather than python3 -m pip …" now too. There is a bug in the pip38 script that means it often doesn’t work the first time around. I’ve already fixed that here for the next version. |
Andrew McCarthy (3688) 606 posts |
Thank you for the update, quick test of Python-38 (3.8.5-5), Python-Core (0.0.1-1), Python-38-pip (20.0.2-4)
Looks great! I removed all of the old packages first, including renaming !PythonSite, to complete the removal process. The only error encountered so far was whilst installing Python-38 “File <Python3$Dir>!Sprites not found”. |
Chris Johns (8262) 242 posts |
For those who haven’t noticed yet, Python is now on the “main” package servers. Hopefully those who were running the beta ones will be able to upgrade without too much pain. I have removed them from my test server (http://packages.lessthan3.org.uk/pkg/testing), but the server will remain for testing of new packages. If you want to get them when they appear then keep it your sources, if you want to wait until they get “released” then remove or disable my server from PackMan. Thank you to all the alpha and beta testers and those who have given me feedback and encouragement! We now get a mention here https://www.python.org/download/other/ |
Julie Stamp (8365) 474 posts |
Fantastic :-D |
Stefan Fröhling (7826) 167 posts |
There was a question about if Python can control also the GPIO. |
Andrew Conroy (370) 740 posts |
I’m working on it… |
Chris Johns (8262) 242 posts |
Python-38-pygame now on the test server. There are some Obey files in examples.RISCOS to run the examples that will run on RISC OS. |
Grahame Parish (436) 481 posts |
I notice that the Python3 sprite doesn’t show on hi-res screens. It’s fine at 1680 × 1040 on one machine but absent at 2560 × 1440 on the other – both ARMX6/Wandboards. I assume there’s a hi-res sprite version missing. |
John Rickman (71) 646 posts |
At this afternoon’s MUG meeting two people, guided by a third person, who had been there and done that, tried to install Python3 using Packman. |
Dave Higton (1515) 3534 posts |
Python seems to be something of a minefield in general. I’ve just spent some hours fixing a problem on Ubuntu 20.04 where PyQt5 claimed to be installed but couldn’t be found by apps that needed it. A forced reinstallation of PyQt5 fixed it, but it took a long time to find the solution (and try out some non-solutions along the way). |
Chris Gransden (337) 1207 posts |
Check that the latest version of PackMan (0.9.5) is being used. Also clear the cache (Advanced→Cache) and then ‘Update Lists’. |
John Rickman (71) 646 posts |
Also clear the cache (Advanced→Cache) and then ‘Update Lists’. There was a lot of stuff in it but cleared ok. Check that the latest version of PackMan (0.9.5) is being used. This one not so good. In normal times I will have lost the will to live by now, but |
John Rickman (71) 646 posts |
| | 10 kB 341 kB/s eta 0:00:22 | ….. Andrew would you please edit your post and shorten the above two lines |
Paolo Fabio Zaino (28) 1882 posts |
@ Chris Johns
Nice job sir! :) |
Chris Gransden (337) 1207 posts |
There is no such version as 0.9.5.1. The version available in PackMan is 0.9.5-1. The ‘-1’ is the package version. Another thing to check is the certificate bundle up to date. It’s the CaCertificates (1.00-3) package in PackMan. Also for the certicates to work the date and time on the machine must be correct. |
Chris Gransden (337) 1207 posts |
A horizontal scroll bar appears on other RISC OS browsers. |
Steve Pampling (1551) 8172 posts |
A horizontal scroll bar appears on other browsers full stop. |
John Rickman (71) 646 posts |
A horizontal scroll bar appears on other browsers full stop. Scrolling isn’t the problem. NetSurf has a horizontal scroll bar. I should probably raise it as a bug in the NetSurf system. |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14