Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Cobaya Tests
on: [push, pull_request]

env:
COBAYA_INSTALL_SKIP_BASE: planck_2015,CamSpec2021,2018_highl_CamSpec,unbinned,keck
COBAYA_INSTALL_SKIP_BASE: CamSpec2021,2018_highl_CamSpec,unbinned,keck
COBAYA_PACKAGES_PATH: ../packages

jobs:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
- Documentation can now be built as markdown for LLM context. Flat context file provided.
- Periodic sampled parameters implemented (for now fully supported by MCMC only), as well as tagging of derived parameters as periodic for analysis with GetDist.

### Cosmology

- Planck `clik`-based likelihoods now use the new `clipy` Python implementation
- Planck 2015 likelihoods deprecated

## 3.5.7 - 2025-03-31

### General
Expand Down
3 changes: 1 addition & 2 deletions cobaya/cosmo_input/input_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,8 +1148,7 @@
install_tests = deepcopy(install_basic)
install_tests["likelihood"].update(
{
"planck_2015_lowl": None,
"planck_2018_highl_plik.TT_unbinned": None,
"planck_2018_highl_plik.TT": None,
"planck_2018_highl_plik.TT_lite_native": None,
"planck_2018_highl_CamSpec.TT": None,
"planck_2018_highl_CamSpec2021.TT": None,
Expand Down
11 changes: 9 additions & 2 deletions cobaya/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def install(*infos, **kwargs):
unknown_components = [] # could not be identified
failed_components = [] # general errors
obsolete_components = [] # older or unknown version already installed
incompatible_components = [] # not compatible with current OS
skip_keywords_arg = set(kwargs.get("skip") or [])
# NB: if passed with quotes as `--skip "a b"`, it's interpreted as a single key
skip_keywords_arg = set(chain(*[word.split() for word in skip_keywords_arg]))
Expand Down Expand Up @@ -304,10 +305,10 @@ def _imported_class():
name_w_kind = imported_class.get_kind() + ":" + component
is_compatible = getattr(imported_class, "is_compatible", lambda: True)()
if not is_compatible:
logger.error(
logger.info(
f"Skipping '{name_w_kind}' because it is not compatible with your OS."
)
failed_components += [name_w_kind]
incompatible_components += [name_w_kind]
continue
logger.info("Checking if dependencies have already been installed...")
is_installed = getattr(imported_class, "is_installed", None)
Expand Down Expand Up @@ -466,6 +467,12 @@ def _imported_class():
),
bullet + bullet.join(obsolete_components),
)
if incompatible_components:
logger.warning(
"The following components were skipped because they are not compatible "
"with your OS: %s",
bullet + bullet.join(incompatible_components),
)
if not unknown_components and not failed_components and not obsolete_components:
logger.info(
"All requested components' dependencies correctly installed at "
Expand Down
1 change: 0 additions & 1 deletion cobaya/likelihoods/base_classes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from .InstallableLikelihood import InstallableLikelihood as InstallableLikelihood
from .Mb import Mb as Mb
from .planck_2018_CamSpec_python import Planck2018CamSpecPython as Planck2018CamSpecPython
from .planck_clik import Planck2015Clik as Planck2015Clik
from .planck_clik import Planck2018Clik as Planck2018Clik
from .planck_clik import PlanckClik as PlanckClik
from .planck_pliklite import PlanckPlikLite as PlanckPlikLite
Expand Down
Loading
Loading