Skip to content

Commit

Permalink
Merge pull request #66 from johnnychen94/jc/compat_fix
Browse files Browse the repository at this point in the history
don't directly depend on ColorTypes and FixedPointNumbers
  • Loading branch information
rsrock authored Jul 26, 2020
2 parents b98efc7 + 498cc2c commit 333d56e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CompatHelper

on:
schedule:
- cron: '00 00 * * *'

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
/Manifest.toml
8 changes: 2 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name = "QuartzImageIO"
uuid = "dca85d43-d64c-5e67-8c65-017450d5d020"
version = "0.7.1"
version = "0.7.2"

[deps]
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"

[compat]
ColorTypes = "0.9, 0.10"
ColorVectorSpace = "0.8"
FileIO = "1"
FixedPointNumbers = "0.6.1, 0.7"
ImageAxes = "0.6"
ImageCore = "0.7, 0.8"
ImageCore = "0.8.1"
ImageMetadata = "0.5, 0.6, 0.7, 0.8"
TestImages = "0.4, 0.5, 0.6, 1"
julia = "1"
Expand Down
3 changes: 2 additions & 1 deletion src/QuartzImageIO.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module QuartzImageIO

using ImageCore, ColorTypes, ColorVectorSpace, FixedPointNumbers, Libdl
# ColorTypes and FixedPointNumbers are reexported by ImageCore v0.8.1
using ImageCore, ColorVectorSpace, Libdl
import FileIO: DataFormat, @format_str, File, Stream, filename, stream

const CFURLRef = Ptr{Cvoid}
Expand Down
5 changes: 3 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Test, Random, FileIO, QuartzImageIO, ColorTypes
using FixedPointNumbers, TestImages, ImageAxes
using Test, Random, FileIO, QuartzImageIO
using ImageCore
using TestImages, ImageAxes
using ImageMetadata
using OffsetArrays

Expand Down

2 comments on commit 333d56e

@rsrock
Copy link
Contributor Author

@rsrock rsrock commented on 333d56e Jul 26, 2020

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

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.7.2 -m "<description of version>" 333d56e7a39a3435123f010958bc41e4c4b009f8
git push origin v0.7.2

Please sign in to comment.