Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756019 - app-portage/elogv-0.7.8-r3 - DeprecationWarning: bind_textdomain_codeset() is deprecated (with Python >=3.8)
Summary: app-portage/elogv-0.7.8-r3 - DeprecationWarning: bind_textdomain_codeset() is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 21:20 UTC by Francesco Turco
Modified: 2020-11-23 10:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
info.txt (info.txt,4.08 KB, text/plain)
2020-11-21 21:20 UTC, Francesco Turco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2020-11-21 21:20:23 UTC
Created attachment 674230 [details]
info.txt

When running elogv, I always get the following warning message in my terminal, no matter what I do:

> /usr/lib/python-exec/python3.8/elogv:107: DeprecationWarning: bind_textdomain_codeset() is deprecated
>   gettext.bind_textdomain_codeset('elogv', locale.getpreferredencoding())

How can I get rid of it?
Comment 1 Larry the Git Cow gentoo-dev 2020-11-23 10:09:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/elogv.git/commit/?id=f276f291dfdfb3c6f28814016b103542ccf8c2c7

commit f276f291dfdfb3c6f28814016b103542ccf8c2c7
Merge: 7871020 0de0857
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-11-23 10:08:57 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-11-23 10:08:57 +0000

    Merge branch 'fix-gentoo-bug-756019'
    
    Closes: https://bugs.gentoo.org/756019
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 ChangeLog | 3 +++
 elogv     | 6 +-----
 setup.py  | 4 ++--
 3 files changed, 6 insertions(+), 7 deletions(-)

https://gitweb.gentoo.org/proj/elogv.git/commit/?id=65bc5419077193c4275df2b9d312e9199ae2f1a0

commit 65bc5419077193c4275df2b9d312e9199ae2f1a0
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-11-23 09:56:55 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-11-23 10:01:33 +0000

    Stop calling deprecated gettext.bind_textdomain_codeset
    
    Deprecated since Python 3.8, will be removed with Python 3.10.
    Closes: https://bugs.gentoo.org/756019
    Related: a98c6ba7eabcdeafaf7bf27263073b77fd26a0d3
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 elogv | 1 -
 1 file changed, 1 deletion(-)
Comment 2 Larry the Git Cow gentoo-dev 2020-11-23 10:22:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8411dbeac3f9473dc45fcee102b2ffb9c18cf5

commit ec8411dbeac3f9473dc45fcee102b2ffb9c18cf5
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-11-23 10:19:42 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-11-23 10:20:31 +0000

    app-portage/elogv: 0.7.9 + drop old + sync SRC_URI
    
    Bug: https://bugs.gentoo.org/756019
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.0, Repoman-2.3.23

 app-portage/elogv/Manifest                         |  1 +
 app-portage/elogv/elogv-0.7.8-r1.ebuild            | 49 ----------------------
 app-portage/elogv/elogv-0.7.8-r3.ebuild            |  2 +-
 .../{elogv-0.7.8-r2.ebuild => elogv-0.7.9.ebuild}  |  8 ++--
 4 files changed, 7 insertions(+), 53 deletions(-)