Skip to content

Add lower restrictions on dolfinx and ufl version#21

Merged
a-latyshev merged 2 commits intoa-latyshev:mainfrom
janmirco:janmirco/fix-dependencies-version-requirements
May 13, 2025
Merged

Add lower restrictions on dolfinx and ufl version#21
a-latyshev merged 2 commits intoa-latyshev:mainfrom
janmirco:janmirco/fix-dependencies-version-requirements

Conversation

@janmirco
Copy link
Copy Markdown
Contributor

@janmirco janmirco commented Apr 2, 2025

Colleagues of mine and I started using your project to tackle problems in nonlinear solid mechanics. Firstly, thank you for your work! Without your project, I did not see any way of using FEniCSx for my research. This stems from the approach we use for our material models.

I had issues installing the latest version of dolfinx-external-operator. I am using FEniCSx 0.9 with conda. Lowering the restrictions on the version of dolfinx and ufl, solved this issue for me.

My fenics setup:

dolfinx-external-operator 0.10.0.dev0              pypi_0    pypi
fenics-basix              0.9.0           py313h867a91d_2    conda-forge
fenics-basix-nanobind-abi 0.2.1.13             h6c05e69_2    conda-forge
fenics-dolfinx            0.9.0         py313h041dec1_108    conda-forge
fenics-ffcx               0.9.0              pyh2e48890_0    conda-forge
fenics-libbasix           0.9.0                h7cb7ce6_2    conda-forge
fenics-libdolfinx         0.9.0              hb85e8c2_108    conda-forge
fenics-ufcx               0.9.0                hb7f7608_0    conda-forge
fenics-ufl                2024.2.0           pyhd8ed1ab_1    conda-forge

@janmirco janmirco mentioned this pull request Apr 3, 2025
@a-latyshev a-latyshev requested a review from jhale May 1, 2025 13:30
@a-latyshev
Copy link
Copy Markdown
Owner

Dear @janmirco

It seems that you installed FEniCSx v0.9 and the development version of dolfinx-external-operator. The development version is typically compiled against dolfinx:nightly, so it may not be compatible with the latest release of dolfinx. To install the release v0.9.0 of dolfinx-external-operator you need just this

pip install git+https://github.com/a-latyshev/dolfinx-external-operator.git@v0.9.0

@jhale, What do you think of lowering the version requirement to let conda users run the latest release?

@a-latyshev a-latyshev merged commit 0190fbf into a-latyshev:main May 13, 2025
1 check passed
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