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

Not compatible with Zygote v0.6.0 #70

Closed
ymtoo opened this issue Feb 5, 2021 · 4 comments
Closed

Not compatible with Zygote v0.6.0 #70

ymtoo opened this issue Feb 5, 2021 · 4 comments

Comments

@ymtoo
Copy link

ymtoo commented Feb 5, 2021

The error is due to package BackwardsLinalg.

(jl_AtlhSq) pkg> st
Status `/tmp/jl_AtlhSq/Project.toml`
  [2b0dec9d] SpectralDistances v0.1.11

(jl_AtlhSq) pkg> add Zygote#v0.6.0
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package BackwardsLinalg [442b4e1a]:
 BackwardsLinalg [442b4e1a] log:
 ├─possible versions are: 0.1.0-0.1.1 or uninstalled
 ├─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: uninstalled
 │ └─Zygote [e88e6eb3] log:
 │   ├─possible versions are: 0.6.0 or uninstalled
 │   └─Zygote [e88e6eb3] is fixed to version 0.6.0
 └─restricted by compatibility requirements with SpectralDistances [2b0dec9d] to versions: 0.1.1 — no versions left
   └─SpectralDistances [2b0dec9d] log:
     ├─possible versions are: 0.1.0-0.1.11 or uninstalled
     └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.11
@baggepinnen
Copy link
Owner

Hmm, this failure is confusing me, BackwardsLinAlg has no compatability bounds at all
https://github.com/GiggleLiu/BackwardsLinalg.jl/blob/master/Project.toml
But it seems that the bounds have been manually added to the registry:
https://github.com/JuliaRegistries/General/blob/master/B/BackwardsLinalg/Compat.toml
I guess a new release of BLA that declares compat with Zygote 0.6 would be what's required to solve this.

@ymtoo
Copy link
Author

ymtoo commented Feb 8, 2021

Thanks for the clarification!

@baggepinnen
Copy link
Owner

It appears as if this is no longer an issue

(@v1.6) pkg> st Zygote
      Status `~/.julia/environments/v1.6/Project.toml`
  [e88e6eb3] Zygote v0.6.8

(@v1.6) pkg> st SpectralDistances
      Status `~/.julia/environments/v1.6/Project.toml`
  [2b0dec9d] SpectralDistances v0.1.11 `~/.julia/dev/SpectralDistances`

and with the latest master, tests pass, at least for me locally

@ymtoo
Copy link
Author

ymtoo commented May 6, 2021

Perfect! It works now.

@ymtoo ymtoo closed this as completed May 6, 2021
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

No branches or pull requests

2 participants