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

Update package format to julia 1.x #11

Merged
merged 10 commits into from
Mar 19, 2020
Merged

Update package format to julia 1.x #11

merged 10 commits into from
Mar 19, 2020

Conversation

lucianolorenti
Copy link
Contributor

No description provided.

Manifest.toml Outdated
@@ -0,0 +1,94 @@
# This file is machine-generated - editing it directly is not advised
Copy link
Collaborator

Choose a reason for hiding this comment

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

The Manifest.toml file probably shouldn't be included and be added to the .gitignore

Copy link
Collaborator

Choose a reason for hiding this comment

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

Addressed

Project.toml Outdated
version = "0.1.0"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Most likely Compat was included to support Julia 1.0 when this package supported Julia 0.6. I would try removing this dependency and the using Compat calls and verify it is still needed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Addressed


[compat]
Compat = "3"
julia = "1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Double check for conditional code based upon the version like:

@static if VERSION >= v"0.7.0-DEV.3077"
as these can be removed

Copy link
Collaborator

Choose a reason for hiding this comment

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

The .travis.yml and appveyor.yml need to be updated to no longer test against Julia 0.6

Copy link
Collaborator

Choose a reason for hiding this comment

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

Addressed

appveyor.yml Outdated
@@ -33,7 +33,7 @@ install:
build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
- C:\projects\julia\bin\julia -e "using InteractiveUtils; versioninfo();
Pkg.clone(pwd(), \"DeepDiffs\"); Pkg.build(\"DeepDiffs\")"

test_script:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like this file hasn't been updated in some time. There is now an easier way: https://github.com/JuliaCI/Appveyor.jl

This should be the updated form I think:

environment:
  matrix:
  - julia_version: 1
  - julia_version: nightly

platform:
  - x86 # 32-bit
  - x64 # 64-bit

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

notifications:
  - provider: Email
    on_build_success: false
    on_build_failure: false
    on_build_status_changed: false

install:
  - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))

build_script:
  - echo "%JL_BUILD_SCRIPT%"
  - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"

test_script:
  - echo "%JL_TEST_SCRIPT%"
  - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It worked!

.travis.yml Show resolved Hide resolved
@omus
Copy link
Collaborator

omus commented Feb 26, 2020

cc: @ssfrr

Project.toml Outdated
keywords = ["diff"]
license = "MIT"
desc = "Compute and pretty-print diffs for data structures like arrays and dictionaries"
version = "0.1.0"

Choose a reason for hiding this comment

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

Suggested change
version = "0.1.0"
version = "1.2.0"

@johnnychen94
Copy link

johnnychen94 commented Mar 14, 2020

This package locks the Compat version to v"2" in ReferenceTests, which turns out to cause the issue JuliaImages/ImageBinarization.jl#58 so I'm wondering if we can get some updates here since it looks like Compat is no longer needed here.

Edit: the issue got solved in ImageBinarization side

@ssfrr ssfrr mentioned this pull request Mar 19, 2020
@ssfrr ssfrr merged commit 6bdb6da into ssfrr:master Mar 19, 2020
@ssfrr
Copy link
Owner

ssfrr commented Mar 19, 2020

I made a couple minor tweaks. Thanks all for the PR and reviews. I'll get a release out shortly

@omus
Copy link
Collaborator

omus commented Mar 19, 2020

Thanks for getting this merged. If you want assistance with this package I'd be happy to help out as a maintainer.

@ssfrr
Copy link
Owner

ssfrr commented Mar 19, 2020

Release tagged, just waiting for it to be merged into General:

JuliaRegistries/General#11174

Thanks for the offer of help! I'd be happy and grateful to add you as a maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants