Your message dated Sun, 21 Nov 2021 18:39:06 +0000
with message-id <[email protected]>
and subject line Bug#996222: fixed in ruby-factory-bot 6.2.0-1
has caused the Debian Bug report #996222,
regarding ruby-factory-bot: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed:
ArgumentError:
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
996222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996222
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-factory-bot
Version: 5.1.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-factory-bot was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> ArgumentError:
> wrong number of arguments (given 1, expected 0; required keyword:
> attributes)
> # ./spec/acceptance/initialize_with_spec.rb:220:in `initialize'
> # ./lib/factory_bot/decorator/new_constructor.rb:9:in `new'
> # ./lib/factory_bot/decorator/new_constructor.rb:9:in `new'
> # ./lib/factory_bot/decorator.rb:18:in `send'
> # ./lib/factory_bot/decorator.rb:10:in `method_missing'
> # ./lib/factory_bot/decorator/invocation_tracker.rb:11:in
> `method_missing'
> # ./lib/factory_bot/decorator.rb:18:in `send'
> # ./lib/factory_bot/decorator.rb:10:in `method_missing'
> # ./spec/acceptance/initialize_with_spec.rb:228:in `block (5 levels) in
> <top (required)>'
> # ./lib/factory_bot/attribute_assigner.rb:51:in `instance_exec'
> # ./lib/factory_bot/attribute_assigner.rb:51:in `build_class_instance'
> # ./lib/factory_bot/attribute_assigner.rb:13:in `object'
> # ./lib/factory_bot/evaluation.rb:13:in `object'
> # ./lib/factory_bot/strategy/build.rb:9:in `result'
> # ./lib/factory_bot/factory.rb:43:in `run'
> # ./lib/factory_bot/factory_runner.rb:29:in `block in run'
> #
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in
> `instrument'
> # ./lib/factory_bot/factory_runner.rb:28:in `run'
> # ./lib/factory_bot/strategy_syntax_method_registrar.rb:20:in `block in
> define_singular_strategy_method'
> # ./spec/acceptance/initialize_with_spec.rb:232:in `block (2 levels) in
> <top (required)>'
>
> Finished in 3.23 seconds (files took 0.85211 seconds to load)
> 343 examples, 13 failures
>
> Failed examples:
>
> rspec ./spec/acceptance/lint_spec.rb:2 # FactoryBot.lint raises when a
> factory is invalid
> rspec ./spec/acceptance/lint_spec.rb:43 # FactoryBot.lint allows for
> selective linting
> rspec ./spec/acceptance/lint_spec.rb:29 # FactoryBot.lint does not raise when
> all factories are valid
> rspec ./spec/acceptance/lint_spec.rb:181 # FactoryBot.lint verbose linting
> prints the backtrace for each factory error
> rspec ./spec/acceptance/lint_spec.rb:91 # FactoryBot.lint trait validation
> enabled does not raise if a trait produces a valid object
> rspec ./spec/acceptance/lint_spec.rb:66 # FactoryBot.lint trait validation
> enabled raises if a trait produces an invalid object
> rspec ./spec/acceptance/lint_spec.rb:112 # FactoryBot.lint trait validation
> disabled does not raises if a trait produces an invalid object
> rspec ./spec/acceptance/lint_spec.rb:135 # FactoryBot.lint factory strategy
> for linting uses the requested strategy
> rspec ./spec/acceptance/lint_spec.rb:155 # FactoryBot.lint factory strategy
> for linting uses the requested strategy during trait validation
> rspec ./spec/acceptance/callbacks_spec.rb:66 # callbacks using Symbol#to_proc
> runs the callback correctly
> rspec ./spec/acceptance/definition_spec.rb:39 # attributes defined using
> Symbol#to_proc assigns value with override correctly
> rspec ./spec/acceptance/definition_spec.rb:32 # attributes defined using
> Symbol#to_proc assigns values correctly
> rspec ./spec/acceptance/initialize_with_spec.rb:216 # initialize_with with an
> 'attributes' attribute assigns attributes correctly
>
> Randomized with seed 48924
>
> /usr/bin/ruby3.0
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec
> --pattern spec/acceptance/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-factory-bot/ruby-factory-bot_5.1.1-1+rebuild1633379375_amd64.build.txt
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: ruby-factory-bot
Source-Version: 6.2.0-1
Done: Daniel Leidert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-factory-bot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Leidert <[email protected]> (supplier of updated ruby-factory-bot
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 21 Nov 2021 19:09:40 +0100
Source: ruby-factory-bot
Architecture: source
Version: 6.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Daniel Leidert <[email protected]>
Closes: 996222
Changes:
ruby-factory-bot (6.2.0-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
- Fix Ruby 3.0 compatibility (closes: #996222).
* d/control (Standards-Version): Bump to 4.6.0.
(Depends): Remove interpreters and use ${ruby:Depends}.
* d/copyright: Add Upstream-Contact field.
(Copyright): Update and add team.
* d/ruby-factory-bot.docs: Add GETTING_STARTED.md.
* d/rules: Use gem installation layout and disable verbosity.
* d/watch: Update file.
* d/upstream/metadata: Add missing fields.
Checksums-Sha1:
46b8ef509c7977ffc9c11f05976348d20248b1aa 2161 ruby-factory-bot_6.2.0-1.dsc
f02e5daf518ed349283f731ff811258b772bd2d4 79807
ruby-factory-bot_6.2.0.orig.tar.gz
811b8b589d03a9c27911691a5e424513d5888fc9 3776
ruby-factory-bot_6.2.0-1.debian.tar.xz
d9b16daeed478a048a013fc225c58715f3d9f047 9669
ruby-factory-bot_6.2.0-1_amd64.buildinfo
Checksums-Sha256:
f67f5460d161870720f5694edcded375df9462bc82bc6d11e6e85ab8d0971448 2161
ruby-factory-bot_6.2.0-1.dsc
b38f6c377b5cb254174a38312ac1c057a45db6e71401d0d5908df654cbf6f16e 79807
ruby-factory-bot_6.2.0.orig.tar.gz
9c2e4992bfc6ca344753082f38051aa9a822ba00605ad7b71e2e0ee5d63ca31e 3776
ruby-factory-bot_6.2.0-1.debian.tar.xz
0ee671b7b739e14ece3d5d87f4662e5ce56d7a090a2653798187f33f01cda26e 9669
ruby-factory-bot_6.2.0-1_amd64.buildinfo
Files:
5c696adbd979d444beb49debe83df685 2161 ruby optional
ruby-factory-bot_6.2.0-1.dsc
31bb68a8e3137eb41503e83161013946 79807 ruby optional
ruby-factory-bot_6.2.0.orig.tar.gz
468852d882e871406a653e8dcd293834 3776 ruby optional
ruby-factory-bot_6.2.0-1.debian.tar.xz
a4e8513afe31c70f129b11a437d535ed 9669 ruby optional
ruby-factory-bot_6.2.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmGajCEACgkQS80FZ8KW
0F2bDg/9H1WI/J/QOgNcTPccOwvwLp3ZU6YbWdAmyF8sSOd//b+lk/VykFgvekxD
QNA/hRys3gJ4Hvc4MPm1uwCxxscmfDP0GWgoSOlw5916edYk55p+OsLpj+I4xsB0
1J2WETdQPJ3nEYJeSn/t4luPcgh+vlzgOc0hy/ykAwcNlJqCVM/rwiNXANj0QI5D
PwvEN3cyFjBLkrius3bDZ3UCKoBne+boBlLeGYEnMWEmI7DXj2OrkGuK7Ck942ss
8oHbB7t14AbzxEYVg/zXhqmp/NUlYiZqBbjkVJZxgFfRr9Mp40q3ypMXtkfgDH2H
9fol+T7nSkdC93SPJ86jGi6P983cRpQw3NVuhOsdsEnopE0AxBf/sXO7IkXsvWEj
NiYWV9mx7l7uLEpwBIChgi4DFI027D9/alSICAc670b7uso+ceDmw2dXhyV/H/j1
AoOJdNjHGsJEqAXQaoWi+eI3MPerJXB2nJIyBYagBD4oKQi3JOuHIUT69FhI/rQt
bpVBAOHK4g8WyRPtpcueHECbFvsQCheOY1bo5fEnbzPTSXZxHUrmpCRc7i9YV0Hj
T2LGljnEqtXJW8UT2jFd+kDAF+ovhI1LU9QTArRMBcwSq445OagG6vSNKe6v7PnV
o1eqdIOKLNu97D4S1mRsKsR0ol799+N+oJe+yBK8hCKMcXysHgU=
=dVXS
-----END PGP SIGNATURE-----
--- End Message ---