Bug#919145: mailman3: stretch-backports dependencies can not be satisfied with python3-alembic from backports

2019-02-01 Thread Antoine Beaupre
On Sun, Jan 13, 2019 at 07:32:25AM +, Sampo Sorsa wrote:
> Package: mailman3
> Version: 3.2.0-4~bpo9+1
> 
> Dear Maintainer,
> 
> The mailman3 dependencies can not be satisfied with python3-alembic from 
> stretch-backports:
> 
> Package: mailman3
> Depends: python3-alembic, python3-sqlalchemy (>= 1.2.3)
> 
> Package: python3-alembic
> Version: 1.0.0-2~bpo9+1
> Depends: python3-sqlalchemy (>= 1.0~), python3-sqlalchemy (<< 1.1)
> 
> The python3-sqlalchemy dependency is conflicting. The only way to resolve 
> this is to downgrade python3-alembic to stretch version:
> 
> Package: python3-alembic
> Version: 0.8.8-2
> Depends: python3-sqlalchemy (>= 0.7.6)
> 
> Perhaps this bug should be filed under python3-alembic to request backports 
> upgrade (although buster is 1.0.0-2 too), but I wanted to make both 
> maintainers and users of mailman3 aware of the issue. Please refile if 
> necessary.

Maybe the problem is those backports were not built with backports
available, which hardcoded the version numbers to the ones in stretch.

It was immediately obvious to me so I figured I would also share the
workaround here, which is simply:

apt install python3-alembic python3-sqlalchemy
apt install -t stretch-backports mailman3-full

A.

-- 
Au nom de l'état, la force s'appelle droit.
Au main de l'individu, elle s'appelle crime.
- Max Stirner


signature.asc
Description: PGP signature


Bug#919145: mailman3: stretch-backports dependencies can not be satisfied with python3-alembic from backports

2019-01-21 Thread Mattia Rizzolo
On Tue, Jan 22, 2019 at 01:45:05AM +0100, Pierre-Elliott Bécue wrote:
> > > Package: python3-alembic
> > > Version: 1.0.0-2~bpo9+1
> > > Depends: python3-sqlalchemy (>= 1.0~), python3-sqlalchemy (<< 1.1)

Interesting.  I didn't notice this.
I honestly don't know where the << 1.1 is coming from...
From the build log:
D: dh_python3 fs:243: package python3-alembic details = {'ext_vers': set(), 
'nsp.txt': set(), 'egg-info': set(), 'shebangs': set(), 'compile': True, 
'ext_no_version': set(), 'requires.txt': 
{'debian/python3-alembic/usr/lib/python3/dist-packages/alembic-1.0.0.dev0.egg-info/requires.txt'},
 'public_vers': {Version('3')}, 'private_dirs': {}}
D: dh_python3 depends:114: generating dependencies for package python3-alembic
D: dh_python3 pydist:137: trying to find dependency for Mako (python=None)
D: dh_python3 pydist:137: trying to find dependency for SQLAlchemy>=0.9.0 
(python=None)
D: dh_python3 pydist:137: trying to find dependency for python-dateutil 
(python=None)
D: dh_python3 pydist:137: trying to find dependency for python-editor>=0.3 
(python=None)
D: dh_python3 depends:272: D={'python3-sqlalchemy (>= 1.0~), python3-sqlalchemy 
(<< 1.1)', 'python3:any (>= 3.3.2-2~)', 'python3-mako', 'python3-dateutil', 
'python3-editor'}; R=[]; S=[]; E=[], B=[]; RT=[]

The >= 1.0 is due to that version being what is set in d/control.

Forcing a build with the version of sqlalchemy in stretch-bpo makes it
become
D: dh_python3 depends:272: D={'python3:any (>= 3.3.2-2~)', 'python3-mako', 
'python3-editor', 'python3-sqlalchemy (>= 0.9.0)', 'python3-dateutil'}; R=[]; 
S=[]; E=[], B=[]; RT=[]

(ignoring d/control?).

> > > The python3-sqlalchemy dependency is conflicting. The only way to resolve 
> > > this is to downgrade python3-alembic to stretch version:

Which, btw, is fine, since mailman3 does not require alembic > 1.

> > > Perhaps this bug should be filed under python3-alembic to request
> > > backports upgrade (although buster is 1.0.0-2 too), but I wanted
> > > to make both maintainers and users of mailman3 aware of the issue.
> > > Please refile if necessary.

I think it should be moved under alembic, yes.

> Do you know why it is here? Where does it come from? Salsa doesn't seem
> to have any track of a stretch-backports branch.

Look better, it has a tag debian/1.0.0-2_bpo9+1 :)
I don't like branches for single no-changes rebuilds.  Also, sources.d.o
would also allow you to have a (quite more authoritative) look at the
sources.


Now, bumping the build-dep to cause a more loose dependency to be
generated feels wrong to me, so I'd rather have somebody figure out
where that << 1 is coming from before doing that...

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#919145: [Pkg-mailman-hackers] Bug#919145: mailman3: stretch-backports dependencies can not be satisfied with python3-alembic from backports

2019-01-21 Thread Pierre-Elliott Bécue
Control: tags -1 - moreinfo

Le mardi 22 janvier 2019 à 01:30:50+0100, Pierre-Elliott Bécue a écrit :
> Control: tags -1 + moreinfo
> 
> Le dimanche 13 janvier 2019 à 07:32:25+, Sampo Sorsa a écrit :
> > Package: mailman3
> > Version: 3.2.0-4~bpo9+1
> >
> > Dear Maintainer,
> >
> > The mailman3 dependencies can not be satisfied with python3-alembic from 
> > stretch-backports:
> >
> > Package: mailman3
> > Depends: python3-alembic, python3-sqlalchemy (>= 1.2.3)
> >
> > Package: python3-alembic
> > Version: 1.0.0-2~bpo9+1
> > Depends: python3-sqlalchemy (>= 1.0~), python3-sqlalchemy (<< 1.1)
> >
> > The python3-sqlalchemy dependency is conflicting. The only way to resolve 
> > this is to downgrade python3-alembic to stretch version:
> >
> > Package: python3-alembic
> > Version: 0.8.8-2
> > Depends: python3-sqlalchemy (>= 0.7.6)
> >
> > Perhaps this bug should be filed under python3-alembic to request backports 
> > upgrade (although buster is 1.0.0-2 too), but I wanted to make both 
> > maintainers and users of mailman3 aware of the issue. Please refile if 
> > necessary.
> 
> Dear Sampo,
> 
> .-(1:27:00)-(~/git/debian/python/alembic/alembic)--(git)-[alembic/master]-(peb@pimeys)-
> `--[130]-> agi -t stretch-backports python3-sqlalchemy
> [sudo] Mot de passe de peb : 
> Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendances
> Lecture des informations d'état... Fait
> Les paquets suivants ont été installés automatiquement et ne sont plus 
> nécessaires :
>   fonts-glewlwyd libjs-highlight.js mkdocs-bootstrap mkdocs-bootswatch 
> python-arrow python-blessed python-blinker python-configparser 
> python-csscompressor python-cssmin
>   python-django-allauth python-django-appconf python-django-compressor 
> python-django-filters python-django-gravatar2 python-django-guardian 
> python-django-haystack
>   python-django-paintstore python-django-picklefield python-django-q 
> python-djangorestframework python-future python-jwt python-mailmanclient 
> python-networkx python-oauthlib
>   python-rcssmin python-requests-oauthlib python-rjsmin 
> python-robot-detection python-whoosh
> Veuillez utiliser « sudo apt autoremove » pour les supprimer.
> The following additional packages will be installed:
>   mailman3 python3-sqlalchemy-ext
> Paquets suggérés :
>   mailman3-doc python-sqlalchemy-doc python3-mysqldb python3-fdb
> Les NOUVEAUX paquets suivants seront installés :
>   python3-sqlalchemy-ext
> Les paquets suivants seront mis à jour :
>   mailman3 python3-sqlalchemy
> 2 mis à jour, 1 nouvellement installés, 0 à enlever et 242 non mis à jour.
> Il est nécessaire de prendre 1 198 ko dans les archives.
> Après cette opération, 166 ko d'espace disque seront libérés.
> Souhaitez-vous continuer ? [O/n] n
> Annulation.
> 
> Can you explain me how you did obtain such an issue?

My bad, I messed up my commands.

Cc-ing Mattia as he released alembic in bpo.

Mattia, python3-alembic depends on python3-sqlalchemy << 1.1 but I can't
see anything about this in d/changelog or d/control in alembic. I can't
actually find the << 1.1 condition anywhere.

Do you know why it is here? Where does it come from? Salsa doesn't seem
to have any track of a stretch-backports branch.

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.


signature.asc
Description: PGP signature


Bug#919145: mailman3: stretch-backports dependencies can not be satisfied with python3-alembic from backports

2019-01-21 Thread Pierre-Elliott Bécue
Control: tags -1 + moreinfo

Le dimanche 13 janvier 2019 à 07:32:25+, Sampo Sorsa a écrit :
> Package: mailman3
> Version: 3.2.0-4~bpo9+1
>
> Dear Maintainer,
>
> The mailman3 dependencies can not be satisfied with python3-alembic from 
> stretch-backports:
>
> Package: mailman3
> Depends: python3-alembic, python3-sqlalchemy (>= 1.2.3)
>
> Package: python3-alembic
> Version: 1.0.0-2~bpo9+1
> Depends: python3-sqlalchemy (>= 1.0~), python3-sqlalchemy (<< 1.1)
>
> The python3-sqlalchemy dependency is conflicting. The only way to resolve 
> this is to downgrade python3-alembic to stretch version:
>
> Package: python3-alembic
> Version: 0.8.8-2
> Depends: python3-sqlalchemy (>= 0.7.6)
>
> Perhaps this bug should be filed under python3-alembic to request backports 
> upgrade (although buster is 1.0.0-2 too), but I wanted to make both 
> maintainers and users of mailman3 aware of the issue. Please refile if 
> necessary.

Dear Sampo,

.-(1:27:00)-(~/git/debian/python/alembic/alembic)--(git)-[alembic/master]-(peb@pimeys)-
`--[130]-> agi -t stretch-backports python3-sqlalchemy
[sudo] Mot de passe de peb : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus 
nécessaires :
  fonts-glewlwyd libjs-highlight.js mkdocs-bootstrap mkdocs-bootswatch 
python-arrow python-blessed python-blinker python-configparser 
python-csscompressor python-cssmin
  python-django-allauth python-django-appconf python-django-compressor 
python-django-filters python-django-gravatar2 python-django-guardian 
python-django-haystack
  python-django-paintstore python-django-picklefield python-django-q 
python-djangorestframework python-future python-jwt python-mailmanclient 
python-networkx python-oauthlib
  python-rcssmin python-requests-oauthlib python-rjsmin python-robot-detection 
python-whoosh
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
The following additional packages will be installed:
  mailman3 python3-sqlalchemy-ext
Paquets suggérés :
  mailman3-doc python-sqlalchemy-doc python3-mysqldb python3-fdb
Les NOUVEAUX paquets suivants seront installés :
  python3-sqlalchemy-ext
Les paquets suivants seront mis à jour :
  mailman3 python3-sqlalchemy
2 mis à jour, 1 nouvellement installés, 0 à enlever et 242 non mis à jour.
Il est nécessaire de prendre 1 198 ko dans les archives.
Après cette opération, 166 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] n
Annulation.

Can you explain me how you did obtain such an issue?

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.


signature.asc
Description: PGP signature


Bug#919145: mailman3: stretch-backports dependencies can not be satisfied with python3-alembic from backports

2019-01-12 Thread Sampo Sorsa
Package: mailman3
Version: 3.2.0-4~bpo9+1

Dear Maintainer,

The mailman3 dependencies can not be satisfied with python3-alembic from 
stretch-backports:

Package: mailman3
Depends: python3-alembic, python3-sqlalchemy (>= 1.2.3)

Package: python3-alembic
Version: 1.0.0-2~bpo9+1
Depends: python3-sqlalchemy (>= 1.0~), python3-sqlalchemy (<< 1.1)

The python3-sqlalchemy dependency is conflicting. The only way to resolve this 
is to downgrade python3-alembic to stretch version:

Package: python3-alembic
Version: 0.8.8-2
Depends: python3-sqlalchemy (>= 0.7.6)

Perhaps this bug should be filed under python3-alembic to request backports 
upgrade (although buster is 1.0.0-2 too), but I wanted to make both maintainers 
and users of mailman3 aware of the issue. Please refile if necessary.

--
Sampo Sorsa