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

Package catala-format.0.1.1 #26874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vincent-botbol
Copy link
Contributor

catala-format.0.1.1

A formatter for Catala based on the Topiary universal formatting engine
A formatter for Catala based on the Topiary universal formatting engine.

Topiary repository: https://github.com/tweag/topiary



🐫 Pull-request generated by opam-publish v2.3.0

@vincent-botbol
Copy link
Contributor Author

Mishap on #26851. I messed up a dependency's version.

@mseri
Copy link
Member

mseri commented Nov 18, 2024

Looks like you need an extra dependency:

#=== ERROR while compiling topiary.0.5.1 ======================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/topiary.0.5.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build cargo build --release --package topiary-cli
# exit-code            101
# env-file             ~/.opam/log/topiary-7-358964.env
# output-file          ~/.opam/log/topiary-7-358964.out
### output ###
# error: failed to select a version for `env_logger`.
#     ... required by package `test-log v0.2.16`
#     ... which satisfies dependency `test-log = "^0.2"` (locked to 0.2.16) of package `topiary-core v0.5.1 (/home/opam/.opam/5.2/.opam-switch/build/topiary.0.5.1/topiary/topiary-core)`
#     ... which satisfies path dependency `topiary-core` (locked to 0.5.1) of package `topiary-cli v0.5.1 (/home/opam/.opam/5.2/.opam-switch/build/topiary.0.5.1/topiary/topiary-cli)`
# versions that meet the requirements `^0.11` (locked to 0.11.3) are: 0.11.3
# 
# the package `test-log` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
#  It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
# 
# 
# failed to select a version for `env_logger` which could resolve this conflict

@vincent-botbol
Copy link
Contributor Author

Looks like you need an extra dependency:

#=== ERROR while compiling topiary.0.5.1 ======================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/topiary.0.5.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build cargo build --release --package topiary-cli
# exit-code            101
# env-file             ~/.opam/log/topiary-7-358964.env
# output-file          ~/.opam/log/topiary-7-358964.out
### output ###
# error: failed to select a version for `env_logger`.
#     ... required by package `test-log v0.2.16`
#     ... which satisfies dependency `test-log = "^0.2"` (locked to 0.2.16) of package `topiary-core v0.5.1 (/home/opam/.opam/5.2/.opam-switch/build/topiary.0.5.1/topiary/topiary-core)`
#     ... which satisfies path dependency `topiary-core` (locked to 0.5.1) of package `topiary-cli v0.5.1 (/home/opam/.opam/5.2/.opam-switch/build/topiary.0.5.1/topiary/topiary-cli)`
# versions that meet the requirements `^0.11` (locked to 0.11.3) are: 0.11.3
# 
# the package `test-log` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
#  It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
# 
# 
# failed to select a version for `env_logger` which could resolve this conflict

It seems that it's a topiary packaging problem due to some shaky rust packaging, IIUC. It was also mentioned by @raphael-proust for the previous release: #26851 (comment).

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.

2 participants