[DRE-maint] Bug#883370: ruby-upr: Please update metadata.yml for moneta 1.0.0
Steve Langasek
steve.langasek at canonical.com
Sun Dec 3 06:57:47 UTC 2017
Package: ruby-upr
Version: 0.3.0-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch
Dear Lunar,
Since the update of ruby-moneta to 1.0.0, the autopkgtest for coquelicot has
been failing because it depends on ruby-upr, which references ruby-moneta
0.7.
autopkgtest [19:20:59]: test command1: [-----------------------
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.3 │
└──────────────────────────────────────────────────────────────────────────────┘
Invalid gemspec in [coquelicot.gemspec]: No such file or directory - git
GEM_PATH= ruby2.3 -e gem\ \"coquelicot\"
/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'moneta' (~> 0.7) - did find: [moneta-1.0.0] (Gem::LoadError)
Checked in 'GEM_PATH=/home/debci/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all', execute `gem env` for more information
[...]
autopkgtest [19:21:00]: test command1: -----------------------]
autopkgtest [19:21:00]: test command1: - - - - - - - - - - results - - - - - - - - - -
command1 FAIL non-zero exit status 1
The 'command1' is 'gem2deb-test-runner --autopkgtest --check-dependencies'.
As far as I can tell, there is no runtime impact to either package by having
these version numbers not match, so the metadata should just be updated.
But if there is some runtime impact, then coquelicot and ruby-upr are
already broken in testing today, since failing autopkgtests do not block
promotion of packages to Debian testing, and the severity of this bug should
probably be raised.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru ruby-upr-0.3.0/debian/control ruby-upr-0.3.0/debian/control
--- ruby-upr-0.3.0/debian/control 2014-05-03 06:32:19.000000000 -0700
+++ ruby-upr-0.3.0/debian/control 2017-12-02 22:50:46.000000000 -0800
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Jérémy Bobbio <lunar at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-moneta (>= 0.7)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-moneta (>= 1.0.0)
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-upr.git
Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-upr.git;a=summary
@@ -13,7 +13,7 @@
Package: ruby-upr
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack, ruby-moneta (>= 0.7)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack, ruby-moneta (>= 1.0.0)
Suggests: rainbows
Description: Upload Progress for Rack
upr is Rack middleware that allows browser-side upload progress
diff -Nru ruby-upr-0.3.0/debian/patches/moneta-update ruby-upr-0.3.0/debian/patches/moneta-update
--- ruby-upr-0.3.0/debian/patches/moneta-update 1969-12-31 16:00:00.000000000 -0800
+++ ruby-upr-0.3.0/debian/patches/moneta-update 2017-12-02 22:50:40.000000000 -0800
@@ -0,0 +1,23 @@
+Description: Update metadata for current moneta.
+ The current metadata doesn't match moneta 1.0.0, which in turn causes
+ coquelicot to fail its test suite. The new ruby-moneta has already reached
+ Debian testing, so either updating the metadata is enough to fix this, or
+ additional fixes are required regardless.
+Author: Steve Langasek <steve.langasek at ubuntu.com>
+Last-Update: 2017-12-03
+
+--- ruby-upr-0.3.0.orig/metadata.yml
++++ ruby-upr-0.3.0/metadata.yml
+@@ -27,9 +27,10 @@ dependencies:
+ - !ruby/object:Gem::Version
+ hash: 5
+ segments:
++ - 1
+ - 0
+- - 7
+- version: "0.7"
++ - 0
++ version: "1.0.0"
+ type: :runtime
+ version_requirements: *id001
+ - !ruby/object:Gem::Dependency
diff -Nru ruby-upr-0.3.0/debian/patches/series ruby-upr-0.3.0/debian/patches/series
--- ruby-upr-0.3.0/debian/patches/series 1969-12-31 16:00:00.000000000 -0800
+++ ruby-upr-0.3.0/debian/patches/series 2017-12-02 22:01:45.000000000 -0800
@@ -0,0 +1 @@
+moneta-update
More information about the Pkg-ruby-extras-maintainers
mailing list