Skip to content

Commit

Permalink
Merge pull request #277 from FourierFlows/ncc/drop-julia-1.5
Browse files Browse the repository at this point in the history
Drop support for Julia v1.5
  • Loading branch information
navidcy authored Nov 30, 2021
2 parents daa5cb6 + 1a60e15 commit f34edfb
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 36 deletions.
15 changes: 2 additions & 13 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,13 @@ env:
SECRET_CODECOV_TOKEN: "Ak2mVTxXnhkPNc096ImDdp7bOc4zGNTqFEEDaGMwAgYPr28g5dyMbslh8B/ad4NQHXVL1MXQ3zrUfGgMBRq+mmqRaAe13FI4Go9uCas6bzdZXE23ExiLzBmqVRNRf8GqEcpGL7BBreohC0cnfI0SVMiIJDCJXX9YsXJtlcpk1glQFMEFI5V6cpFe9K2l5xoUNQ4179ZYoJUMAy/aylQx/UdQuw527FjHQUsi5/dFtWzMqeys0secNa9alLvJCQdIX9OqPjmBYvuIIVXCR7vlZoH8PgXwEj7wbdp8/V31+wlLQI9WePcsJxoOybtLTOlwwfw4jWLAttDZYqnqiLVp3Q==;U2FsdGVkX18sNLCManU1B/jI5kh4LhSi69MFXljHSp9yWrN7u5d196K/XrELwb8ksbamyKeHjIvDIopwD55dbw=="

steps:
- label: "🥑 Julia 1.5"
plugins:
- JuliaCI/julia#v1:
version: 1.5
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60

- label: "🍆 Julia 1.6"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
agents:
queue: "juliagpu"
cuda: "*"
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "GeophysicalFlows"
uuid = "44ee3b1c-bc02-53fa-8355-8e347616e15e"
license = "MIT"
authors = ["Navid C. Constantinou <[email protected]>", "Gregory L. Wagner <[email protected]>", "and co-contributors"]
version = "0.13.1"
version = "0.14.0"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Expand All @@ -26,7 +26,7 @@ JLD2 = "^0.1, ^0.2, ^0.3, ^0.4"
Reexport = "^0.2, ^1"
SpecialFunctions = "^0.10, ^1, 2"
StaticArrays = "^0.12, ^1"
julia = "^1.5"
julia = "^1.6"

[extras]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<!-- Badges -->
<p align="left">
<a href="https://buildkite.com/julialang/geophysicalflows-dot-jl">
<img alt="Buildkite CPU+GPU build status" src="https://img.shields.io/buildkite/4d921fc17b95341ea5477fb62df0e6d9364b61b154e050a123/master?logo=buildkite&label=Buildkite%20CPU%2BGPU">
<img alt="Buildkite CPU+GPU build status" src="https://img.shields.io/buildkite/4d921fc17b95341ea5477fb62df0e6d9364b61b154e050a123/main?logo=buildkite&label=Buildkite%20CPU%2BGPU">
</a>
<a href="https://ci.appveyor.com/project/navidcy/geophysicalflows-jl">
<img alt="Build Status for Window" src="https://img.shields.io/appveyor/ci/navidcy/geophysicalflows-jl/master?label=Window&logo=appveyor&logoColor=white">
<img alt="Build Status for Window" src="https://img.shields.io/appveyor/ci/navidcy/geophysicalflows-jl/main?label=Window&logo=appveyor&logoColor=white">
</a>
<a href="https://FourierFlows.github.io/GeophysicalFlowsDocumentation/stable">
<img alt="stable docs" src="https://img.shields.io/badge/documentation-stable%20release-blue">
Expand All @@ -20,7 +20,7 @@
<img alt="latest docs" src="https://img.shields.io/badge/documentation-in%20development-orange">
</a>
<a href="https://codecov.io/gh/FourierFlows/GeophysicalFlows.jl">
<img src="https://codecov.io/gh/FourierFlows/GeophysicalFlows.jl/branch/master/graph/badge.svg" />
<img src="https://codecov.io/gh/FourierFlows/GeophysicalFlows.jl/branch/main/graph/badge.svg" />
</a>
<a href="https://doi.org/10.5281/zenodo.1463809">
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.1463809.svg" alt="DOI">
Expand All @@ -43,11 +43,13 @@ To install, use Julia's built-in package manager (accessed by pressing `]` in t

```julia
julia>]
(v1.5) pkg> add GeophysicalFlows
(v1.5) pkg> instantiate
(v1.6) pkg> add GeophysicalFlows
(v1.6) pkg> instantiate
```

The most recent version of GeophysicalFlows.jl requires Julia v1.5 or later. _We strongly urge you to use this version._
The most recent version of GeophysicalFlows.jl requires Julia v1.6 or later. _We strongly urge you to use this version._

The latest version that is compatible with Julia v1.5 is GeophysicalFlows.jl v0.13.1.

The latest version that is compatible with Julia v1.0.5 (the current long-term-release) is GeophysicalFlows.jl v0.5.1.

Expand Down Expand Up @@ -98,7 +100,7 @@ The user is also referred to the [GPU section](https://fourierflows.github.io/Fo

Interested in GeophysicalFlows.jl or trying to figure out how to use it? Please feel free to
ask us questions and get in touch! Check out the
[examples](https://github.com/FourierFlows/GeophysicalFlows.jl/tree/master/examples) and
[examples](https://github.com/FourierFlows/GeophysicalFlows.jl/tree/main/examples) and
[open an issue](https://github.com/FourierFlows/GeophysicalFlows.jl/issues/new) or
[start a discussion](https://github.com/FourierFlows/GeophysicalFlows.jl/discussions/new)
if you have any questions, comments, suggestions, etc.
Expand Down Expand Up @@ -141,7 +143,7 @@ if you'd like to work on a new feature or implement a new module, if you're new
and want to find a cool little project or issue to work on that fits your interests! We're more
than happy to help along the way.

For more information, check out our [contributor's guide](https://github.com/FourierFlows/GeophysicalFlows.jl/blob/master/CONTRIBUTING.md).
For more information, check out our [contributor's guide](https://github.com/FourierFlows/GeophysicalFlows.jl/blob/main/CONTRIBUTING.md).


[FourierFlows.jl]: https://github.com/FourierFlows/FourierFlows.jl
Expand Down
10 changes: 2 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
matrix:
- julia_version: 1.5
- julia_version: 1.6
- julia_version: nightly

platform:
Expand All @@ -14,7 +14,7 @@ matrix:

branches:
only:
- master
- main
- /release-.*/

notifications:
Expand All @@ -33,9 +33,3 @@ build_script:
test_script:
- echo "%JL_TEST_SCRIPT%"
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

# # Uncomment to support code coverage upload. Should only be enabled for packages
# # which would have coverage gaps without running on Windows
# on_success:
# - echo "%JL_CODECOV_SCRIPT%"
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
12 changes: 7 additions & 5 deletions docs/src/installation_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@ instantiate/build all the required dependencies

```julia
julia>]
(v1.5) pkg> add GeophysicalFlows
(v1.5) pkg> instantiate
(v1.6) pkg> add GeophysicalFlows
(v1.6) pkg> instantiate
```

We recommend installing GeophysicalFlows.jl with the built-in Julia package manager, because
this installs a stable, tagged release. Later on, you can update GeophysicalFlows.jl to the
latest tagged release again via the package manager by typing

```julia
(v1.5) pkg> update GeophysicalFlows
(v1.6) pkg> update GeophysicalFlows
```

Note that some releases might induce breaking changes to certain modules. If after anything
happens or your code stops working, please open an [issue](https://github.com/FourierFlows/GeophysicalFlows.jl/issues)
or start a [discussion](https://github.com/FourierFlows/GeophysicalFlows.jl/discussions). We're
more than happy to help with getting your simulations up and running.

!!! warn "Use Julia 1.5 or newer"
The latest GeophysicalFlows.jl requires at least Julia v1.5 to run.
!!! warn "Use Julia 1.6 or newer"
The latest GeophysicalFlows.jl requires at least Julia v1.6 to run.
Installing GeophysicalFlows with an older version of Julia will install an older version
of GeophysicalFlows.jl (the latest version compatible with your version of Julia).

Last version compatible with Julia v1.5: GeophysicalFlows.jl v0.13.1

Last version compatible with Julia v1.0.5 (the current long-term-release): GeophysicalFlows.jl v0.5.1


0 comments on commit f34edfb

Please sign in to comment.