# This week new python ?!?

**URL:** <https://forum.endeavouros.com/t/this-week-new-python/18346>\
**Category:** Lounge\
**Created:** [October 3, 2021, 6:59pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346 "2021-10-03T18:59:23Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 6:59pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/1 "2021-10-03T18:59:23Z")

</div>

> **[PEP 619 – Python 3.10 Release Schedule | peps.python.org](https://peps.python.org/pep-0619/)**
>
> Python Enhancement Proposals (PEPs)

as on the schedule 🙂

Optimus manager users should atleast rebuild there package 🙂

curius 🙂 keep a eye on your rebuild-detector hook 🙂

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [October 3, 2021, 7:28pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/2 "2021-10-03T19:28:20Z")

</div>

> [@ringo](#):
>
> keep a eye on your rebuild-detector hook

new users should have it per default 😉

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [October 3, 2021, 7:28pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/3 "2021-10-03T19:28:26Z")

</div>

Optimus Manager user here, checking in. Do I need to do anything specific when the new python release comes out to prevent any issues? Previously when I was on Solus, any new version like python for example, the devs would rebuild all the relevant software that needed it and then test it works and then would push those updates to the users so that we never really had to worry about any of it. Is this a similar approach that Arch does or do I have to explicitly rebuild all the software that I have that will be affected by the new python release. I just want to know so I can prepare myself if anything, Feel free to expand on any of this and how it all works in the Arch world, I enjoy learning from this lovely community 😉

> [@joekamprad](#):
>
> new users should have it per default 😉

@joekamprad I don’t have the package `rebuild-detector` installed on my system, but I see it’s in the official community repos. I installed EnOS back in June/July, so this was before the most recent release. Should I be installing `rebuild-detector` and is there anything else I need to do to make sure things run smoothly with python updating? Thanks for any help 🙂

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 7:37pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/4 "2021-10-03T19:37:24Z")

</div>

importand if rebuild-detector is installed it wil note that this need a rebuild. just rebuild it from aur.

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 7:38pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/5 "2021-10-03T19:38:50Z")

</div>

don’t know if python of optimus-manager need a patch or something but as all python from aur need to rebuild atleast…

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 8:23pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/6 "2021-10-03T20:23:15Z")

</div>

it just detect what need to rebuild as with aur packages can be usefull 🙂

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [October 3, 2021, 8:33pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/7 "2021-10-03T20:33:20Z")

</div>

Okay so I’ve gone ahead and decided to install `rebuild-detector` package from the Arch repos:

```auto
sudo pacman -S rebuild-detector

```

According to their Github ([here](https://github.com/maximbaz/rebuild-detector)), I can simply run `checkrebuild` to see if any of the AUR packages I have need to be rebuilt. So far nothing turned up so I’m good to go for now, though I am surprised I’ve had some AUR packages installed since July and haven’t had any of them need rebuilds yet. Guess I just got lucky. It appears this is now installed by default on EndeavourOS, but since it wasn’t for me I’ve added it to my list of things to do after installing, just in case 😉

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 8:36pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/8 "2021-10-03T20:36:12Z")

</div>

it has a pacman hook, so its handy 🙂

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [October 3, 2021, 8:40pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/9 "2021-10-03T20:40:01Z")

</div>

I take it the pacman hook is automatically triggered and I don’t need to do anything?  
Also, if there’s times where I need to rebuild packages that I have from the AUR, I don’t also have to rebuild packages from the main official repos too do I?

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 8:46pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/10 "2021-10-03T20:46:57Z")

</div>

it notify , only you have to do is to rebuild offcourse 🙂

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [October 3, 2021, 8:49pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/11 "2021-10-03T20:49:42Z")

</div>

What’s the process or command to rebuild AUR packages, for example say optimus-manager?

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [October 3, 2021, 9:35pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/12 "2021-10-03T21:35:40Z")

</div>

just rebuild normal it rebuild it into the new python folders

you can check it with pacman -Ql optimus-manager

you will see the python folders.

---

<div class="post-metadata">

**Author:** ![edmundlaugasson](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/edmundlaugasson/32/41231_2.png) [@edmundlaugasson](https://forum.endeavouros.com/u/edmundlaugasson)\
**Post date:** [December 13, 2021, 7:25pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/13 "2021-12-13T19:25:17Z")

</div>

Can anyone comment, why some packages still remain? Here is [appropriate issue report](https://github.com/maximbaz/rebuild-detector/issues/13). Although packages are working, _checkrebuild_ command still claims these needs to be rebuilt. How that issue can be fixed?

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [December 13, 2021, 9:48pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/14 "2021-12-13T21:48:18Z")

</div>

Mostly are aur packages probably you just do a cleanbuild. Eventual --cleanmenu to yay if doesnt show

---

<div class="post-metadata">

**Author:** ![edmundlaugasson](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/edmundlaugasson/32/41231_2.png) [@edmundlaugasson](https://forum.endeavouros.com/u/edmundlaugasson)\
**Post date:** [December 13, 2021, 10:10pm UTC](https://forum.endeavouros.com/t/this-week-new-python/18346/15 "2021-12-13T22:10:17Z")

</div>

As there [appropriate comment](https://github.com/maximbaz/rebuild-detector/issues/13#issuecomment-992794405) says, there is nothing to do. Also packager comments in AUR say, that especially in case of binary packages (but not only) there is nothing to do. I gues there could be an option to play Sherlock Holmes and search with _find_ those libraries and write a script, that will fix these locations with symlinks and then _checkrebuild_ will not give these false positives anymore. I just solved it [like I describe in that issue](https://github.com/maximbaz/rebuild-detector/issues/13#issuecomment-992801909).
