Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run integration tests #3830

Closed
Peltoche opened this issue Mar 8, 2023 · 2 comments
Closed

Can't run integration tests #3830

Peltoche opened this issue Mar 8, 2023 · 2 comments

Comments

@Peltoche
Copy link
Contributor

Peltoche commented Mar 8, 2023

The integration tests (the ruby ones) fail at random place due to some errors with faker:

I18n::InvalidLocaleData: can not load translations from /usr/lib/ruby/gems/3.0.0/gems/faker-1.8.7/lib/locales/en-SG.yml: #<Psych::BadAlias: Unknown alias: male_first_name>

I have a fresh ruby install and I'm on archlinux:

ruby --version
ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x86_64-linux]

Faker seems ok except a depreciation warning:

bundle info faker
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
  * faker (1.8.7)
	Summary: Easily generate fake data
	Homepage: https://github.com/stympy/faker
	Path: /usr/lib/ruby/gems/3.0.0/gems/faker-1.8.7

neofetch --off
peltoche@R90V24WW

OS: Arch Linux x86_64
Host: 20MDCTO1WW ThinkPad P1
Kernel: 6.1.12-arch1-1
Uptime: 2 days, 23 hours, 35 mins
Packages: 1118 (pacman), 8 (nix-user)
Shell: zsh 5.9
Resolution: 1920x1080
WM: sway
Terminal: kitty
CPU: Intel i7-8750H (12) @ 4.100GHz
GPU: NVIDIA Quadro P1000 Mobile
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 8412MiB / 15445MiB


Do you have pointers to help me debugging those tests?
@nono
Copy link
Member

nono commented Mar 9, 2023

From faker-ruby/faker#2330, it looks like faker 1.8.7 is not compatible with the new psych 4. I have upgraded faker on #3832, you can retry.

@Peltoche
Copy link
Contributor Author

Seems all good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants