TidierOrg / Tidier.jl

Meta-package for data analysis in Julia, modeled after the R tidyverse.
MIT License
518 stars 14 forks source link

TidierData Tidier compat issue via TidierPlots #146

Open drizk1 opened 3 months ago

drizk1 commented 3 months ago

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 commented 2 months ago

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 commented 3 weeks ago

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 TidierPlots@0.8.0
   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