Skip to content

Commit

Permalink
Increase package version to v1.4.2 (#110)
Browse files Browse the repository at this point in the history
* Fix tests for Julia v1.0

* Increase package version to v1.4.2
  • Loading branch information
oschulz committed Mar 28, 2023
1 parent 5fd8ff2 commit 874ad06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TypedTables"
uuid = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"
authors = ["Andy Ferris <ferris.andy@gmail.com>"]
version = "1.4.2"
version = "1.4.3"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
7 changes: 6 additions & 1 deletion test/Table.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@
@test @inferred(map(s, t))::Table == Table(sum = [3.0, 6.0, 9.0])
@test @inferred(mapview(s, t))::Table == Table(sum = [3.0, 6.0, 9.0])
@test @inferred(broadcast(s, t))::Table == Table(sum = [3.0, 6.0, 9.0])
@test @inferred(mapreduce(s, (acc, row) -> acc + row.sum, t; init = 0.0)) === 18.0
@static if VERSION >= v"1.6.0"
@test @inferred(mapreduce(s, (acc, row) -> acc + row.sum, t; init = 0.0)) === 18.0
else
# Type inference fails on Julia 1.0
@test (mapreduce(s, (acc, row) -> acc + row.sum, t; init = 0.0)) === 18.0
end
end

@testset "missing in Tables" begin
Expand Down

4 comments on commit 874ad06

@andyferris
Copy link
Member

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/80538

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 v1.4.3 -m "<description of version>" 874ad06eb928787027e1cb86c1629a64b9832ed6
git push origin v1.4.3

Also, note the warning: Version 1.4.3 skips over 1.4.2
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@andyferris
Copy link
Member

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 updated: JuliaRegistries/General/80538

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 v1.4.3 -m "<description of version>" 874ad06eb928787027e1cb86c1629a64b9832ed6
git push origin v1.4.3

Please sign in to comment.