build: Support fmt 11 (follow-up) (#3371)

* build: Support fmt 11

A few other elements were required, as observed in:
https://github.com/mamba-org/mamba/pull/3352

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* Unpin python on 3.9

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* ci: use libcxx<18 for macOS

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* Add TODO comment

Co-authored-by: Hind-M <Hind-M@users.noreply.github.com>

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

---------

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
This commit is contained in:
Julien Jerphanion 2024-07-30 15:57:15 +02:00 committed by GitHub
parent de040eb225
commit d0d7eea49a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 11 additions and 1 deletions

View File

@ -28,6 +28,12 @@ jobs:
environment-file: ./dev/environment-dev.yml
environment-name: build_env
cache-environment: true
- name: Use libcxx <18 (see conda-forge/libcxx-feedstock#162)
# TODO: remove this step once the issue is fixed
# See: https://github.com/conda-forge/libcxx-feedstock/issues/162
if: startsWith(inputs.os, 'macos')
run: |
micromamba install -n build_env -c conda-forge "libcxx<18"
- uses: hendrikmuhs/ccache-action@main
with:
variant: sccache

View File

@ -24,7 +24,7 @@ dependencies:
# micromamba dependencies
- cli11 >=2.2
# micromamba test dependencies
- python =3.9 # Some not too recent version
- python
- mitmproxy
- pytest >=7.3.0
- pytest-asyncio

View File

@ -8,6 +8,7 @@
#include <doctest/doctest.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
namespace doctest
{

View File

@ -6,6 +6,7 @@
#include <doctest/doctest.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "mamba/util/flat_set.hpp"

View File

@ -8,6 +8,7 @@
#include <doctest/doctest.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
namespace doctest
{

View File

@ -11,6 +11,7 @@
#include <doctest/doctest.h>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <nlohmann/json.hpp>
#include "mamba/core/channel_context.hpp"