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

TidierData Tidier compat issue via TidierPlots #146

Open
drizk1 opened this issue Aug 4, 2024 · 2 comments
Open

TidierData Tidier compat issue via TidierPlots #146

drizk1 opened this issue Aug 4, 2024 · 2 comments

Comments

@drizk1
Copy link
Member

drizk1 commented Aug 4, 2024

TidierData > v0.15.2 and Tidier v1.4.0 are incompatible.
This means TidierDB v.3.1 and TidierData v0.15.2 are incompatible.

installing and reinstalling various subpackages, I think the reason is in the TidierPlots Project.toml

[compat]
...
TidierData = "0.15" # line 35

Installing TidierPlots v0.7.7 after TidierData force downgrades TidierData to v0.15.2 from v0.16.1.

Tidier v1.4.0 requires

TidierPlots = "0.7, 1"

I think fixing the TIdierPlots toml might fix the other issues.

@drizk1
Copy link
Member Author

drizk1 commented Aug 9, 2024

unfortunately because the v0.7.8 release had a , not a - between TidierData versions, the version on the registry does not work. But the TidierPlots toml issue has been corrected so if you download the dev version you can have them together and whenever the next version is released it should be good to go.

(@v1.10) pkg> status TidierPlots
Status `~/.julia/environments/v1.10/Project.toml`
  [337ecbd1] TidierPlots v0.7.8 `https://github.com/TidierOrg/TidierPlots.jl#main`

(@v1.10) pkg> status TidierData
Status `~/.julia/environments/v1.10/Project.toml`
  [fe2206b3] TidierData v0.16.1 `https://github.com/TidierOrg/TidierData.jl#main`

@drizk1
Copy link
Member Author

drizk1 commented Oct 7, 2024

So unfortunately compats are an ongoing issue although this works

(@v1.10) pkg> status TidierDB
Status `~/.julia/environments/v1.10/Project.toml`
  [86993f9b] TidierDB v0.4.1 `https://github.com/TidierOrg/TidierDB.jl#main`

(@v1.10) pkg> status TidierPlots
Status `~/.julia/environments/v1.10/Project.toml`
  [337ecbd1] TidierPlots v0.8.0 `https://github.com/TidierOrg/TidierPlots.jl#main`

(@v1.10) pkg> status TidierData
Status `~/.julia/environments/v1.10/Project.toml`
  [fe2206b3] TidierData v0.16.2
(@v1.10) pkg> add [email protected]
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Chain [8be319e6]:
 Chain [8be319e6] log:
 ├─possible versions are: 0.1.0-0.6.0 or uninstalled
 ├─restricted by compatibility requirements with TidierDB [86993f9b] to versions: 0.6.0
 │ └─TidierDB [86993f9b] log:
 │   ├─possible versions are: 0.1.0-0.4.1 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.4.1
 └─restricted by compatibility requirements with Tidier [f0413319] to versions: 0.5.0 — no versions left
   └─Tidier [f0413319] log:
     ├─possible versions are: 0.3.0-1.4.0 or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions: 0.3.0-1.4.0
     ├─restricted by compatibility requirements with TidierDates [20186a3f] to versions: [0.3.0-0.7.7, 1.1.0-1.4.0] or uninstalled, leaving only versions: [0.3.0-0.7.7, 1.1.0-1.4.0]
     │ └─TidierDates [20186a3f] log:
     │   ├─possible versions are: 0.2.6 or uninstalled
     │   └─TidierDates [20186a3f] is fixed to version 0.2.6
     └─restricted by compatibility requirements with TidierPlots [337ecbd1] to versions: 0.3.0-0.7.7 or uninstalled, leaving only versions: 0.3.0-0.7.7
       └─TidierPlots [337ecbd1] log:
         ├─possible versions are: 0.1.0-0.8.0 or uninstalled
         └─restricted to versions 0.8.0 by an explicit requirement, leaving only versions: 0.8.0

clean summary

(@v1.10) pkg> status --outdated
Status `~/.julia/environments/v1.10/Project.toml`
⌅ [86993f9b] TidierDB v0.1.9 (<v0.4.1): Tidier 
⌅ [fe2206b3] TidierData v0.15.2 (<v0.16.2): Tidier, TidierPlots
⌅ [337ecbd1] TidierPlots v0.7.8 (<v0.8.0): Tidier

(@v1.10) pkg> status Tidier
Status `~/.julia/environments/v1.10/Project.toml`
  [f0413319] Tidier v1.4.0

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

1 participant