Skip to content

Commit

Permalink
fix depwarn (#145)
Browse files Browse the repository at this point in the history
* fix depwarn in CI

* bump version

* disable CI on Windows
  • Loading branch information
ranocha authored Jun 26, 2023
1 parent 43b19d5 commit 19a17e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
os:
- ubuntu-latest
include:
- version: '1'
os: windows-latest
- version: '1'
os: macOS-latest
# Do not run tests on Windows since they often result in weird
# Python errors, e.g.,
# `AttributeError: module 'brotli' has no attribute 'error'`
# in https://github.com/ranocha/BSeries.jl/pull/145
# - version: '1'
# os: windows-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BSeries"
uuid = "ebb8d67c-85b4-416c-b05f-5f409e808f32"
authors = ["Hendrik Ranocha <[email protected]> and contributors"]
version = "0.1.53"
version = "0.1.54"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ using Aqua: Aqua
b = [1 - α, α]
c = [0, 1 / (2 * α)]
series_integrator = bseries(A, b, c, 3)

# Call this once to avoid failing tests with `@test_nowarn`
# caused by deprecation warnings from PyCall.jl. See also
# https://github.com/JuliaPy/PyCall.jl/pull/1042
deepcopy(α)

@test_nowarn latexify(series_integrator)
end

Expand Down

2 comments on commit 19a17e8

@ranocha
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/86278

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.54 -m "<description of version>" 19a17e8305f8643761cc40cf6fda94e8fe7931e3
git push origin v0.1.54

Please sign in to comment.