Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684734 - dev-python/pydispatcher-2.1.2: move to dev-python/pypydispatcher-2.1.2
Summary: dev-python/pydispatcher-2.1.2: move to dev-python/pypydispatcher-2.1.2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-29 15:57 UTC by Anton Bolshakov
Modified: 2022-07-10 12:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2019-04-29 15:57:02 UTC
version 2.1.2 has the invalid name:
PyPyDispatcher
and the current of the ebuild does not fix it.

As the result, an attempt to import that module using the standard call like:
 from pydispatch import dispatcher                                                                                          

will hit the error:
 "PyDispatcher not found"


I have downgraded to the version 2.0.5 and the error is done.

emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/hardened, gcc-8.2.0, glibc-2.28-r6, 5.0.8-pentoo x86_64)
=================================================================
System uname: Linux-5.0.8-pentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:     7970664 total,   3259888 free
KiB Swap:    4194300 total,   4194260 free
Timestamp of repository gentoo: Sat, 27 Apr 2019 15:45:01 +0000
Head commit of repository gentoo: 80c3ae3367c5fd4ac0b04d7bc5fe4ae84415bcab
Head commit of repository dotnet: a05d3f1d6fe28dcccce0ee59c2762b0ad47fde29

Head commit of repository pentoo: f833f06cd8db097cd373e6694e9a03864560e842

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.asia.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

dotnet
    location: /var/db/overlays/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo/dotnet.git
    masters: gentoo

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

pentoo
    location: /var/db/overlays/pentoo-overlay
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay
    masters: gentoo

steam-overlay
    location: /var/db/overlays/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA OPERA-12 NVIDIA-CUDA PUEL AdobeFlash-11.x Google-TOS dlj-1.1 google-chrome Oracle-BCLA-JavaSE Intel-SDP skype-4.0.0.7-copyright baudline"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/sonar-scanner/conf /opt/sonar/conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--load-average=3.6 --quiet-build"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="*.la"
LANG="en_SG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en ru"
MAKEOPTS="-j4"
Comment 1 Anton Bolshakov 2019-04-29 16:00:28 UTC
bash$ scrapy 

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/scrapy", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3126, in <module>
    @_call_aside
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 784, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy

The test ebuild can be found here:
https://github.com/pentoo/pentoo-overlay/tree/master/dev-python/Scrapy
Comment 2 Anton Bolshakov 2020-01-13 13:23:46 UTC
I have just realised it. There are two different packages:
pydispatcher https://pypi.org/project/PyDispatcher/
  v2.0.5 https://github.com/scrapy/pypydispatcher

 and its fork with pypy support
pypydispatcher https://pypi.org/project/PyPyDispatcher/
  v2.1.2 https://github.com/scrapy/pypydispatcher
Comment 3 Anton Bolshakov 2020-08-02 03:03:05 UTC
ping?
Comment 4 Anton Bolshakov 2021-07-27 18:34:49 UTC
annual ping
Comment 5 Anton Bolshakov 2022-07-10 02:16:12 UTC
and ping
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 06:35:52 UTC
Patches welcome.
Comment 7 Anton Bolshakov 2022-07-10 08:55:48 UTC
rename it to pypydispatcher.
what kind of patch can I provide?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 09:12:12 UTC
(In reply to Anton Bolshakov from comment #7)
> rename it to pypydispatcher.
> what kind of patch can I provide?

A git am-able patch to make the rename in profiles/, update any reverse any dependencies, and bump the package.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 12:14:11 UTC
Thanks for bringing this to our attention.  However, this package is so dead I can smell it from here and it has no revdeps in ::gentoo anymore, so I'll lastrite it instead.