Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12118 > unrolled thread
| Started by | peter green <plugwash@p10link.net> |
|---|---|
| First post | 2019-12-07 09:00 +0100 |
| Last post | 2019-12-07 17:20 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#938909: Dealing with zope.interface unsatisfiable build-dependency. peter green <plugwash@p10link.net> - 2019-12-07 09:00 +0100
Bug#938909: Dealing with zope.interface unsatisfiable build-dependency. peter green <plugwash@p10link.net> - 2019-12-07 09:20 +0100
Re: Dealing with zope.interface unsatisfiable build-dependency. Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2019-12-07 16:10 +0100
Re: Dealing with zope.interface unsatisfiable build-dependency. peter green <plugwash@p10link.net> - 2019-12-07 17:20 +0100
| From | peter green <plugwash@p10link.net> |
|---|---|
| Date | 2019-12-07 09:00 +0100 |
| Subject | Bug#938909: Dealing with zope.interface unsatisfiable build-dependency. |
| Message-ID | <zaD0K-uk-39@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
zope.interface is currently rc buggy because of an unsatisfiable build-depenency on python-zope.event, the package is also orphaned. The package is a key package, so the issue won't be dealt with by autoremovals, furthermore the python-zope.interface package has quite a stack of reverse dependencies, so dropping it doesn't seem like a good option at this point. Testing reveals that the build-dependency in question is only needed by the test suite, so I believe the least-bad option is to drop the build-dependency and not run the testsuite. It would be preferable to only disable the testsuite for python2, but I have no idea how to do that, so my current debdiff disables the testsuite completely, I also ran into an issue with the package's clean target not cleaning up properly. If anyone can suggest how to modify the package so it runs the testsuite for python3 but not python2 that would be appreciated. I plan to go ahead with an upload next week.
[toc] | [next] | [standalone]
| From | peter green <plugwash@p10link.net> |
|---|---|
| Date | 2019-12-07 09:20 +0100 |
| Message-ID | <zaDtL-TP-1@gated-at.bofh.it> |
| In reply to | #12118 |
On 07/12/2019 07:47, peter green wrote: > It would be preferable to only disable the testsuite for python2, but I have no idea how to do that, so my current debdiff disables the testsuite completely, I also ran into an issue with the package's clean target not cleaning up properly. Just realized I added moreutils to the build-depends, planning to use it in the clean target fix, but in the end I decided to just delete the file in question. So that build-dep should be dropped before upload.
[toc] | [prev] | [next] | [standalone]
| From | Håvard Flaget Aasen <haavard_aasen@yahoo.no> |
|---|---|
| Date | 2019-12-07 16:10 +0100 |
| Subject | Re: Dealing with zope.interface unsatisfiable build-dependency. |
| Message-ID | <zaJSy-4TU-11@gated-at.bofh.it> |
| In reply to | #12119 |
If you still wish to disable tests for python 2, you might be looking for this export PYBUILD_DISABLE_python2=test That line in debian/rules should work. You have some more options here: https://wiki.debian.org/Python/Pybuild and perhaps the manpages. On 07.12.2019 09:12, peter green wrote: > On 07/12/2019 07:47, peter green wrote: >> It would be preferable to only disable the testsuite for python2, but >> I have no idea how to do that, so my current debdiff disables the >> testsuite completely, I also ran into an issue with the package's >> clean target not cleaning up properly. > Just realized I added moreutils to the build-depends, planning to use > it in the clean target fix, but in the end I decided to just delete > the file in question. So that build-dep should be dropped before upload. >
[toc] | [prev] | [next] | [standalone]
| From | peter green <plugwash@p10link.net> |
|---|---|
| Date | 2019-12-07 17:20 +0100 |
| Subject | Re: Dealing with zope.interface unsatisfiable build-dependency. |
| Message-ID | <zaKYh-5xA-1@gated-at.bofh.it> |
| In reply to | #12120 |
[Multipart message — attachments visible in raw view] — view raw
On 07/12/2019 15:09, Håvard Flaget Aasen wrote: > If you still wish to disable tests for python 2, you might be looking for this > > export PYBUILD_DISABLE_python2=test > > That line in debian/rules should work. > > You have some more options here: https://wiki.debian.org/Python/Pybuild > and perhaps the manpages. Thanks, I found I also had to add export PYBUILD_DISABLE_python2-dbg=test to disable the tests for the python2 debug interpreter. Looking at the log confirms it's running the tests for python 3.x and not python 2.x as desired. New debdiff is attached.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web