Skip to content

Test on Ubuntu 25.10#72

Merged
bdevans merged 23 commits intodevelopfrom
test-quokka
Mar 31, 2026
Merged

Test on Ubuntu 25.10#72
bdevans merged 23 commits intodevelopfrom
test-quokka

Conversation

@kwabenantim
Copy link
Copy Markdown
Member

Summary

In preparation for Ubuntu 26.04 LTS, test wrapper generation on Ubuntu 25.10.

Supports #71

@kwabenantim kwabenantim self-assigned this Mar 26, 2026
@kwabenantim kwabenantim linked an issue Mar 26, 2026 that may be closed by this pull request
@kwabenantim
Copy link
Copy Markdown
Member Author

The default system versions of castxml and clang are working okay. These are currently:

Ubuntu 25.10

castxml 0.6.11-1
clang 1:20.0-63ubuntu1

Ubuntu 24.04

castxml 0.6.3-1build2
clang 1:18.0-59~exp2

Ubuntu 22.04

castxml 0.4.4-1
clang 1:14.0-55~exp2

@kwabenantim
Copy link
Copy Markdown
Member Author

kwabenantim commented Mar 26, 2026

Conda tests for Python 3.8 and 3.9 seem to be stuck when they run the command

conda install --yes --file conda/requirements.txt

They get stuck at the solve:

Collecting package metadata (repodata.json)
...
INFO conda.conda_libmamba_solver.solver:_specs_to_request_jobs(421): The solver will handle these requests:
{
  "Pin": [
    "python 3.9.*"
  ],
  "Install": [
    "vtk",
    "petsc4py",
    "petsc",
    "openmpi",
    "mpi4py",
    "boost-cpp"
  ],
  "Update": [
    "openssl",
    "ca-certificates"
  ],
  "Keep": [
    "conda-forge/linux-64::python==3.9.23=hc30ae73_0_cpython",
    "conda-forge/linux-64::openssl==3.6.1=h35e630c_1",
    "conda-forge/noarch::ca-certificates==2026.2.25=hbd8a1cb_0"
  ],
  "Freeze": [
    "conda-forge/linux-64::_openmp_mutex==4.5=20_gnu",
    "conda-forge/linux-64::bzip2==1.0.8=hda65f42_9",
    "conda-forge/linux-64::icu==78.3=h33c6efd_0",
    "conda-forge/linux-64::ld_impl_linux-64==2.45.1=default_hbd61a6d_102",
    "conda-forge/linux-64::libexpat==2.7.4=hecca717_0",
    "conda-forge/linux-64::libffi==3.5.2=h3435931_0",
    "conda-forge/linux-64::libgcc==15.2.0=he0feb66_18",
    "conda-forge/linux-64::libgcc-ng==15.2.0=h69a702a_18",
    "conda-forge/linux-64::libgomp==15.2.0=he0feb66_18",
    "conda-forge/linux-64::liblzma==5.8.2=hb03c661_0",
    "conda-forge/linux-64::libnsl==2.0.1=hb9d3cd8_1",
    "conda-forge/linux-64::libsqlite==3.52.0=hf4e2dac_0",
    "conda-forge/linux-64::libstdcxx==15.2.0=h934c35e_18",
    "conda-forge/linux-64::libuuid==2.41.3=h5347b49_0",
    "conda-forge/linux-64::libxcrypt==4.4.36=hd590300_1",
    "conda-forge/linux-64::libzlib==1.3.2=h25fd6f3_2",
    "conda-forge/linux-64::ncurses==6.5=h2d0b736_3",
    "conda-forge/noarch::pip==25.2=pyh8b19718_0",
    "conda-forge/linux-64::readline==8.3=h853b02a_0",
    "conda-forge/noarch::setuptools==80.9.0=pyhff2d567_0",
    "conda-forge/linux-64::tk==8.6.13=noxft_h366c992_103",
    "conda-forge/noarch::tzdata==2025c=hc9c84f9_1",
    "conda-forge/noarch::wheel==0.45.1=pyhd8ed1ab_1",
    "conda-forge/linux-64::zstd==1.5.7=hb78ec9c_6"
  ]
}

The current contents of conda/requirements.txt are

boost-cpp
mpi4py
openmpi
petsc
petsc4py
vtk

Python 3.10+ are fine.

FIX
Fixed by adding:

conda clean --all --yes
conda config --prepend channels conda-forge
conda config --set channel_priority strict

NOTE

Installing conda-build on Python 3.12 requires reverting this setting to:

conda config --set channel_priority flexible

@kwabenantim kwabenantim requested review from bdevans March 27, 2026 16:21
@kwabenantim
Copy link
Copy Markdown
Member Author

The wrappers generate okay on Ubuntu Quokka @bdevans

@bdevans
Copy link
Copy Markdown
Member

bdevans commented Mar 31, 2026

Looks good @kwabenantim - I'm just curious why it now needs calls to python3 rather than just python?

@kwabenantim
Copy link
Copy Markdown
Member Author

Looks good @kwabenantim - I'm just curious why it now needs calls to python3 rather than just python?

It's only a minor adjustment and python should work okay in most cases. I thought it might be useful to be more specific in case things run on a system in future where python hasn't been automatically symlinked to python3 (https://peps.python.org/pep-0394/)

@bdevans bdevans merged commit eec1c7b into develop Mar 31, 2026
15 checks passed
@bdevans bdevans deleted the test-quokka branch March 31, 2026 11:03
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.

Test Wrapper Generation on Ubuntu 26.04

2 participants