Skip to content

Installing fenics adapter may break FEniCS installation #103

@BenjaminRodenberg

Description

@BenjaminRodenberg

See https://fenicsproject.discourse.group/t/installing-python-package-with-fenics-dependency-breaks-fenics-installation/4476.

To me this looks like an upstream issue. The fenics adapter depends on fenics. Therefore the following dependencies in setup.py look correct:

install_requires=['pyprecice>=2.0.0', 'fenics', 'scipy', 'numpy>=1.13.3'],

However, if we assume a user has already fixed the FEniCS installation by manually uninstalling fenics-ufl, the fenics adapter will reinstall fenics-ufl due to the fenics dependency and (again) break the FEniCS installation. The user has to uninstall fenics-ufl (again) after installing the fenics adapter.

A possible solution that I have in mind is to declare FEniCS as a dependency of the adapter, but avoid reinstalling fenics-ufl. Is this possible?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions