Jump to content


Photo

develop: python3 transition


  • Please log in to reply
371 replies to this topic

Re: develop: python3 transition #341 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 21 May 2022 - 16:51

@wanwizard, I am sure it was never the PLi intention that the python 3 conversion would be a copy and paste job from a closed source enigma2 repo of another team.

Re: develop: python3 transition #342 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 21 May 2022 - 18:06

What should be done with the last 3 commits of directory.py file in python3 branch now?

 

https://github.com/O.../Directories.py


Edited by Beeker, 21 May 2022 - 18:07.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: develop: python3 transition #343 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 21 May 2022 - 18:17

Personally I prefer to freeze develop and go for py3 to avoid the merge conflict workload. but in between py3 is currently somehow on hold (again)

+1

 

I agree.

Freeze Python 2 after the 8.2 release and continue with Python 3 only.

We have OE-core, enigma2 and a lot of plugins py3 ready for development.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: develop: python3 transition #344 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 21 May 2022 - 18:45

What should be done with the last 3 commits of directory.py file in python3 branch now?

 

https://github.com/O.../Directories.py

I'll sort it out if you like.



Re: develop: python3 transition #345 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 21 May 2022 - 19:09

 

What should be done with the last 3 commits of directory.py file in python3 branch now?

 

https://github.com/O.../Directories.py

I'll sort it out if you like.

 

Please do so.

I'll wait for answer or PR before I update python3 branch with develop (git rebase).


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: develop: python3 transition #346 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 21 May 2022 - 20:13

When it indeed does improves without breaking other stuff I agree…. But when it breaks other stuff and just add new work in cascade I do not agree.

 

Refactoring should never break anything, unless the backward compatibility break was on purpose (this is sometimes needed and/or unavoidable).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #347 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 21 May 2022 - 20:14

@wanwizard, I am sure it was never the PLi intention that the python 3 conversion would be a copy and paste job from a closed source enigma2 repo of another team.

 

Agreed. I can only speculate. ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #348 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 21 May 2022 - 20:17

Freeze Python 2 after the 8.2 release and continue with Python 3 only.

We have OE-core, enigma2 and a lot of plugins py3 ready for development.

 

As long as everyone agrees to that, and switches, That will only work if a "nightly build" of Hardknott / Python3 is stable enough for daily use.

 

I currently run develop on all my boxes, but I would stop that if it would become too unstable to record or watch TV, and that in turn would mean less is being tested.

 

In other words: agree on the way forward, and all stick to it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #349 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 22 May 2022 - 00:10

https://github.com/O...igma2/pull/3453



Re: develop: python3 transition #350 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 22 May 2022 - 00:51

Merged


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #351 littlesat

  • PLi® Core member
  • 56,294 posts

+691
Excellent

Posted 22 May 2022 - 02:18

When 8.2 is released we indeed need to consider to make py3 develop and continue…. But indeed only when py3 is functional regarding the basics…

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: develop: python3 transition #352 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 22 May 2022 - 11:51

Thanks.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: develop: python3 transition #353 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 22 May 2022 - 11:52

When 8.2 is released we indeed need to consider to make py3 develop and continue…. But indeed only when py3 is functional regarding the basics…

 

TV/Radio: OK

Start/Stop recording: No problem.

Timers: OK.

 

Autotimer plugin: TODO


Edited by Beeker, 22 May 2022 - 11:52.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: develop: python3 transition #354 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 22 May 2022 - 12:26

You really need AutoTimer and XML-Import working as minimum.

 

And people need to be realistic. There are going to be bugs/crashes to start with and the quickest way for these to be found and solved is as many people using the python 3 image as possible. Everyone uses their receivers differently so it is impossible for just a few developers to find all the bugs.


Edited by Huevos, 22 May 2022 - 12:27.


Re: develop: python3 transition #355 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 11 June 2022 - 15:35

What is going on with this? I thought this work was going to get merged into "develop" once 8.2 was released.



Re: develop: python3 transition #356 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 11 June 2022 - 18:15

It has to be bug-free enough for testers to actually run a develop image on the box, we don't have enough people testing as it is, and if it is not stable enough for normal daily use, it will be tested even less.

 

I have no clue what the status of the current Py3 codebase is, it needs to be usable enough to start working on (or at least thinking about) OpenPLi 9.

 

It also needs commitment from the developers to actually pick up issues as soon as possible, or plugins needed but not converted yet.

 

If not it is pointless to merge now if that means we can't release a new image for the next 12 months (or more).


 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #357 Huevos

  • PLi® Contributor
  • 4,250 posts

+158
Excellent

Posted 11 June 2022 - 19:25

Ok, I had some stuff I wanted to send, but if it needs converting back to Py2 it will have to wait.



Re: develop: python3 transition #358 littlesat

  • PLi® Core member
  • 56,294 posts

+691
Excellent

Posted 11 June 2022 - 19:28

Once we need to start so it is good to know what the status is…. That plugins do not work is not a mandatory thing when the basics are workable and we have the most important plugins. Once it is used more thinks will be fixed.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: develop: python3 transition #359 WanWizard

  • PLi® Core member
  • 68,673 posts

+1,740
Excellent

Posted 11 June 2022 - 20:52

Depends on which plugins, autotimer and epgimport for example are already named.

 

Remains the question who is going to do the merge, as that is going to be quite a job, and requires someone with good code knowledge to correctly fix all the merge conflicts that no doubt will occur.

 

I am not that person.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop: python3 transition #360 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 11 June 2022 - 21:24

Depends on which plugins, autotimer and epgimport for example are already named.

 

Remains the question who is going to do the merge, as that is going to be quite a job, and requires someone with good code knowledge to correctly fix all the merge conflicts that no doubt will occur.

 

I am not that person.

 

You can merge python3 branch into develop without merge-conflicts.

hains@hains-System-Product-Name:~/enigma2$ git status
On branch develop
Your branch is up to date with 'origin/develop'.

nothing to commit, working tree clean
hains@hains-System-Product-Name:~/enigma2$ git pull https://github.com/OpenPLi/enigma2.git python3 --rebase
From https://github.com/OpenPLi/enigma2
 * branch                python3    -> FETCH_HEAD
Successfully rebased and updated refs/heads/develop.
hains@hains-System-Product-Name:~/enigma2$ 

Earlieer problems mentioned with directory.py file with commits from Iansav, wasn't the result of merge-conflicts.

 

Epgimport is already tested in the past and stable enough.

autotimer plugin is stable enough for testing.

Crashes might occur when testing under all circumstances, but I don't expect it will be work for weeks to fix.

 

Further very stable

 

-Hetweer.

-Forecast

-Oscamstatus

-Net/Shoutcast

-Systemtools

 

And more.


Edited by Beeker, 11 June 2022 - 21:25.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users