#1079769 ITP: python-farama-notifications -- Notifications for all Farama Foundation maintained libraries

#1079769#5
Date:
2024-08-27 09:38:23 UTC
From:
To:
* Package name    : python-farama-notifications
  Version         : 0.0.4
  Upstream Contact: Jordan Terry <Jkterry@farama.org>
* URL             : https://github.com/Farama-Foundation/Farama-Notifications
* License         : MIT
  Programming Lang: Python
  Description     : Notifications for all Farama Foundation maintained libraries

This package allows for providing notifications on import to all Farama Packages.
Actually this is a dependency of python package gymnasium and stable-baselines3,
which are important libraries for deep reinforcement learning and I use them daily.
Deep reinforcement learning is an important tech powered many important things
like AlphaGo, AlphaFold.

Gaming agents in video games like Dota 2 are usually
powered by deep reinforcement too.

As far as I know, libraries linked with machine learning is still rare in debian
repo, thus I want to package them to debian.

I will maintain this package by myself in the future.
By the way, I intend to join python team later, I may maitain this package with
other members from python team then.

And I need sponsor if you can help. Thank you.

#1079769#12
Date:
2024-10-21 18:58:07 UTC
From:
To:
[Dong Xu]

Why must this be a separate debian package?  As far as I can tell, the
entire source code installed by this package look like this in
farama_notifications/__init__.py:

  notifications = dict()

Is there no other way to handle notifications across packages without
this oneliner?

#1079769#17
Date:
2024-10-22 11:06:42 UTC
From:
To:
I raised the question upstream in
<URL: https://github.com/Farama-Foundation/Farama-Notifications/issues/7 >.

#1079769#22
Date:
2024-10-22 11:17:13 UTC
From:
To:
Hello, Petter Reinholdtsen!

I once reply to FTP Master to describe what is the importance of this
package, sorry that I forget to reply it publicly.

The purporse of this package is that, if a user tries to import an out-
dated version of gymnasium, the farama-notifications or gymnasium-
notices will throw an error notification. It have
a list of out-dated version, if it find the version is out-dated, it
will notify the user.

And, Farama Foundations may want to extend its functions over all of
the packages they maintained, thus they make this package seperate.

In other words, it will be needed for other packages by Farama
Foundation.

This package (python-farama-notifications) is a necessary dependency of
upcoming package python-gymnasium, while python-gymnasium is the
dependency of python-stable-baselines3.

There is a change for gymnasium in to use farama-notifications instead
of gymnasium-notices:

https://github.com/Farama-Foundation/Gymnasium/pull/332/files

The magic is in this file:

https://github.com/Farama-Foundation/Gymnasium/blob/main/gymnasium/__init__.py

If user tries to import an out-dated version of gymnasium, the farama-
notifications or gymnasium-notices will throw an error notification.

https://github.com/Farama-Foundation/gymnasium-notices/

Thus, farama-notifications is a successor of gymnasium-notices. It have
a list of out-dated version, if it find the version is out-dated, it
will notify the user.

The old gymnasium-notices has detailed information for its function:

https://pypi.org/project/gymnasium-notices/

I have something else about python-gymnasium and python-stable-
baselines3 to say anyway.
First of all, I am familiar with them and I use them daily.

python-gymnasium and python-stable-baselines3 are important libraries
for deep reinforcement learning. Deep reinforcement learning is an
important tech poweres many important things like AlphaGo, AlphaFold,
and ChatGPT.

Gaming agents in video games like Dota 2 are usually
powered by deep reinforcement too.

ChatGPT is powered by an immportant technique called RLHF:
Reinforcement Learning From Human Feedback. That is the reinforcement
learning I mentioned before.

As far as I know, libraries linked with machine learning is still rare
in debian repo, thus I want to package them to debian.

#1079769#27
Date:
2024-10-22 11:40:27 UTC
From:
To:
[EiPiFun]

Which other approaches, not involving a single line python depenedency,
have been tried?

I probably missed something, but could only see an explanation to how
the package is used and who its dependencies are, but not why you
believe this single line package is the correct approach.  The latter is
what have me wondering what is going on here.

#1079769#32
Date:
2024-10-23 14:07:58 UTC
From:
To:
Hello Petter Reinholdtsen!

Oh yes, I understand.

They may find a better way to do that.

Regards,
EiPi Fun/Dong Xu

#1079769#39
Date:
2026-09-26 10:00:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-gymnasium, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1079769@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Don Xu <me@eipi.fun> (supplier of updated python-gymnasium package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 22 Sep 2026 15:47:40 +0800
Source: python-gymnasium
Binary: python3-gymnasium
Architecture: source all
Version: 1.3.0+dfsg+~0.0.6-1
Distribution: unstable
Urgency: medium
Maintainer: Don Xu <me@eipi.fun>
Changed-By: Don Xu <me@eipi.fun>
Description:
 python3-gymnasium - Standard API for reinforcement learning with reference environmen
Closes: 916514 1079769
Changes:
 python-gymnasium (1.3.0+dfsg+~0.0.6-1) unstable; urgency=medium
 .
   * Initial debian release (Closes: #916514)
   * Bundled with farama-notifications (Closes: #1079769)
   * Packaging using pkgos-debpypi by zigo@debian.org
Checksums-Sha1:
 5cedc37b0fe444fd33ae98c0dd64bf942bc58c98 2512 python-gymnasium_1.3.0+dfsg+~0.0.6-1.dsc
 2109d1df237422f68fea3b2f4656a36f397d17e1 3028 python-gymnasium_1.3.0+dfsg+~0.0.6.orig-dep.tar.xz
 7a6e40b788b06f03fa9229826c636086f3a042c6 713076 python-gymnasium_1.3.0+dfsg+~0.0.6.orig.tar.xz
 64380ef546929836b3c7b5e371b802e65922a503 2568 python-gymnasium_1.3.0+dfsg+~0.0.6-1.debian.tar.xz
 93a051fa227df4b3c16b9c4e56153a75c0e5a769 6955 python-gymnasium_1.3.0+dfsg+~0.0.6-1_amd64.buildinfo
 f8d453eee452b0dddbd67344f9a359279cf5c785 713288 python3-gymnasium_1.3.0+dfsg+~0.0.6-1_all.deb
Checksums-Sha256:
 9e0fdfccf9cd12c33d92b9512df805c8a0c516f1a64c01aad34f79a083b31ba6 2512 python-gymnasium_1.3.0+dfsg+~0.0.6-1.dsc
 5cd21ccb315f82ade886bab183d3cfe8d797a0570a3760cedb6f6629bd1cb64e 3028 python-gymnasium_1.3.0+dfsg+~0.0.6.orig-dep.tar.xz
 5c18cb96eb643d8e10cfe8fc08e1aa9211d18d2745e29e3c14819315a2519984 713076 python-gymnasium_1.3.0+dfsg+~0.0.6.orig.tar.xz
 cb25c514cd2cda1d17145ee06d4dc57c3e197a847d097628e9c7978dae9169e9 2568 python-gymnasium_1.3.0+dfsg+~0.0.6-1.debian.tar.xz
 bf939da1063e4f093ef778e797ecb7f86c3910edf997948f0de7f79ceea0ee86 6955 python-gymnasium_1.3.0+dfsg+~0.0.6-1_amd64.buildinfo
 e3861e5a5168aaaf5625e4f526b4051d70c028ed9dd6bbe7bc7b41c78e316754 713288 python3-gymnasium_1.3.0+dfsg+~0.0.6-1_all.deb
Files:
 66945b03775755c36c665cc2d5a396d8 2512 python optional python-gymnasium_1.3.0+dfsg+~0.0.6-1.dsc
 d33519ad4bfb63442b0c6813a8503258 3028 python optional python-gymnasium_1.3.0+dfsg+~0.0.6.orig-dep.tar.xz
 9ed9831394dbe2e6485fd0c311a25e45 713076 python optional python-gymnasium_1.3.0+dfsg+~0.0.6.orig.tar.xz
 49638ccb5ec460c520ae80777043424c 2568 python optional python-gymnasium_1.3.0+dfsg+~0.0.6-1.debian.tar.xz
 f42898c618687541ee72a50d5f4fdc16 6955 python optional python-gymnasium_1.3.0+dfsg+~0.0.6-1_amd64.buildinfo
 02b403185e4e5677d3806b246867a652 713288 python optional python3-gymnasium_1.3.0+dfsg+~0.0.6-1_all.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEl9DisSUYWvfJX+x3a5gt67/pHCkFAmqzyccACgkQa5gt67/p
HCmJGw//aCuASr3YFVyQRK96CbXCsD7DQEoW5P2FlusHReZCNhXt515ENdlEq4Q3
V2y71FDrpRhs9gXxDHSbzrxHNDIv9Nf+oxcnVAWhMzGO8tmV0MvenyMZ/Xv2TkBF
kuB3WSptW9CJDfhfOSY+9s2p6+cRKEFdvu8gjAIU6lAnVVE/JrXcXWzOAUzVqh3N
CBc0aHrQ3E2GXMvy+hbh1Hw3MnRwCf3lueZHdJtovT6ahrzoKxmThGUttADHNLjB
pC9JeVyRQqh//VUWImPe0T9Yn4XY1MpA9BxAgWf/zZnMFiv8nbzmYzk7lv6sHIf1
q9EVmyHzcjN4cxZ2JxZR9iqvwE+x6jRafXfbxaiqS7+qyqT/r+C8UqHlTm20onW5
w+x4QDofZklUHfBCv8vaJBTeUCcYrH8dMOGbF4nHHeV9HNwEcccad4uEr6twAUQv
WNnp5WrTcHtfDKgc/2Q/eLrfMjs6MPrmn787FgewG5o0VrA16gcamERPZAvmy4cU
Cq80ossXFlCF0blxziCKpn/D9y7UR8CYAgxbd9vDykVeSRE67PM+S8fDlwYpAZ9r
27js06rPyS9l4rGmjnUMqMVzNejyQd5EW+2K1a/crwSBVKJznHI+WzrsRZdBNNsR
7y4TzupC1ZTOZMYiB1lJZkJgH7CztAUDR3F1srInSp+ih5B+7DI=
=KUrW
-----END PGP SIGNATURE-----