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

nbstripout: fix tests #38370

Merged
merged 1 commit into from Apr 8, 2018
Merged

nbstripout: fix tests #38370

merged 1 commit into from Apr 8, 2018

Conversation

jluttine
Copy link
Member

@jluttine jluttine commented Apr 3, 2018

Motivation for this change

Building of nbstripout has failed after the version was bumped to 0.3.1 because:
the test files were missing from the new release tarball. This adds tests by
using the release tarball from GitHub instead of PyPI.

However, these tests fail because of a bug in one test. Thus, a patch is used to
fix the tests.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@jluttine
Copy link
Member Author

jluttine commented Apr 3, 2018

Note: The changes only affect the tests, that is, the check phase. The actual application remains untouched. These changes just fix the build of the derivation.

# Remove this patch once the pull request has been merged and a new
# release made.
fetchurl {
url = "https://github.com/kynan/nbstripout/compare/1056b101a0ecf40d7c8722f95632f8c37c9c7fb4...03e28424fb788dd09a95e99814977b0d0846c0b4.patch";
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Building of nbstripout has failed after the version was bumped to 0.3.1 because:
the test files were missing from the new release tarball. This adds tests by
using the release tarball from GitHub instead of PyPI.

However, these tests fail because of a bug in one test. Thus, a patch is used to
fix the tests.
@Mic92
Copy link
Member

Mic92 commented Apr 8, 2018

@GrahamcOfBorg build nbstripout

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nbstripout

Partial log (click to expand)

tests/test-hg.t .                                                        [ 45%]
tests/test-keep-count.t .                                                [ 54%]
tests/test-keep-output-keep-count.t .                                    [ 63%]
tests/test-keep-output.t .                                               [ 72%]
tests/test-metadata.t .                                                  [ 81%]
tests/test-unicode.t .                                                   [ 90%]
tests/test-widgets.t .                                                   [100%]

========================== 11 passed in 7.21 seconds ===========================
/nix/store/paj0i06d87zm35zh84rhk16m2q0m7pmd-nbstripout-0.3.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nbstripout

Partial log (click to expand)

tests/test-hg.t .                                                        [ 45%]
tests/test-keep-count.t .                                                [ 54%]
tests/test-keep-output-keep-count.t .                                    [ 63%]
tests/test-keep-output.t .                                               [ 72%]
tests/test-metadata.t .                                                  [ 81%]
tests/test-unicode.t .                                                   [ 90%]
tests/test-widgets.t .                                                   [100%]

========================== 11 passed in 48.16 seconds ==========================
/nix/store/061ja6v1daszrpij7q6prgcc65g1i7nb-nbstripout-0.3.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nbstripout

Partial log (click to expand)

tests/test-hg.t .                                                        [ 45%]
tests/test-keep-count.t .                                                [ 54%]
tests/test-keep-output-keep-count.t .                                    [ 63%]
tests/test-keep-output.t .                                               [ 72%]
tests/test-metadata.t .                                                  [ 81%]
tests/test-unicode.t .                                                   [ 90%]
tests/test-widgets.t .                                                   [100%]

========================== 11 passed in 11.56 seconds ==========================
/nix/store/kbasnza4zjns6b6bffaykpk51g90q9a6-nbstripout-0.3.1

@Mic92 Mic92 merged commit 2c36472 into NixOS:master Apr 8, 2018
@Mic92
Copy link
Member

Mic92 commented Apr 8, 2018

Is a backport required here?

@jluttine
Copy link
Member Author

jluttine commented Apr 9, 2018

Hmm.. Which branch does that mean? If it builds ok, no need to backport. If it fails and this fixes, then I'd backport. But what is the branch it would be backported to? nixos-18.03?

@Mic92
Copy link
Member

Mic92 commented Apr 9, 2018

I was asking if this package also builds on 18.03, in which case I would backport this package.

@jluttine
Copy link
Member Author

jluttine commented Apr 9, 2018

It seems that on 18.03, nbstripout is still an older version which builds fine. So there is no need to backport this if the upgrade from 0.3.0 to 0.3.1 isn't backported either.

bclaud added a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 19, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 21, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 22, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 24, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 26, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Mar 31, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 5, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 7, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 9, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 12, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 14, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 16, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
superherointj pushed a commit to nixpkgs-friendly/nixpkgs-friendly that referenced this pull request Apr 18, 2024
Release: https://github.com/quarkusio/quarkus/releases/tag/3.2.11.Final

Complete changelog

    NixOS#35659 - Fix File handling as a JAX-RS body parameter
    NixOS#37153 - Bump smallrye-jwt version to 4.4.0
    NixOS#38233 - Bump resteasy.version from 6.2.6.Final to 6.2.7.Final
    NixOS#38236 - Adding a decorator causes bytecode error
    NixOS#38362 - Register JDBC RowSet required bundle
    NixOS#38370 - Include RowSet properties file in native image
    NixOS#38429 - Replace {project-name} attribute in document title for downstream
    NixOS#38430 - Avoid dots in config doc ids as it's causing issues for downstream
    NixOS#38580 - Make the Forwarded Parser syntax parsing case-insensitive
    NixOS#38648 - More documentation adjustments for new downstream tooling
    NixOS#38649 - Use [[anchor]] format consistently
    NixOS#38748 - Sanitize app.dekorate.io/vcs-url kubernetes annotation
    NixOS#38755 - Log when a RestEasy Reactive client close method is called
    NixOS#38785 - ArC: fix interception when some methods return void
    NixOS#38865 - Update commons-compress version to mitigate CVE-2024-25710
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.

None yet

4 participants