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

acoustics: fix #124547

Merged
merged 1 commit into from
May 26, 2021
Merged

acoustics: fix #124547

merged 1 commit into from
May 26, 2021

Conversation

hrhino
Copy link
Contributor

@hrhino hrhino commented May 26, 2021

There's a bit of LaTeX math code in a comment in a test file:

    .. math:: L = 10 \cdot \\log_{10}{\\left(\\frac{MS}{p_r^2} \\right)}

which of course should be \\cdot.

I could patch it, but I think skipping deprecation warnings in tests is probably ok... (If nothing else it's easier.)

Motivation for this change

ZHF: #122042 @jonringer

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Tested lightly with nix-shell -I nixpkgs=/code/nixpkgs -p python37Packages.acoustics --run python
  • Added a release notes entry if the change is major or breaking
  • Fits CONTRIBUTING.md.

There's a bit of LaTeX math code in a comment in a test file:

```
    .. math:: L = 10 \cdot \\log_{10}{\\left(\\frac{MS}{p_r^2} \\right)}
```

which of course should be `\\cdot`.

I could patch it, but I think skipping deprecation warnings in tests is
probably ok... (If nothing else it's easier.)
@r-rmcgibbo
Copy link

r-rmcgibbo commented May 26, 2021

Result of nixpkgs-review pr 124547 at dbc085c run on x86_64-linux 1

2 packages built successfully:
  • python38Packages.acoustics
  • python39Packages.acoustics

Result of nixpkgs-review pr 124547 at dbc085c run on aarch64-linux 1

2 packages built successfully:
  • python38Packages.acoustics
  • python39Packages.acoustics

Copy link
Contributor

@risicle risicle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM WFM nixos x86_64

@risicle risicle merged commit 4d77eeb into NixOS:master May 26, 2021
@hrhino
Copy link
Contributor Author

hrhino commented May 26, 2021

ty ty

@hrhino hrhino mentioned this pull request May 26, 2021
9 tasks
@FRidh
Copy link
Member

FRidh commented May 27, 2021

Thank you. I need to check again this package against the latest dependencies. It hasn't seen any maintenance in a long time.

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

Successfully merging this pull request may close these issues.

4 participants