Skip to content
Closed
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/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please do not add screenshots unless the bug is purely graphical.
**Environment:**
- OS: [eg: Linux, MacOS, WSL (Windows Subsystem for Linux)] add this as a label too!
- Python version: [eg: 3.9.7]
- Output of `firedrake-status`
- Output of `pip list`
- Any relevant environment variables or modifications [eg: PYOP2_DEBUG=1]

**Additional Info**
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ jobs:
pip cache remove slepc4py

if [ ${{ inputs.target_branch }} = 'release' ]; then
EXTRA_BUILD_ARGS=''
EXTRA_PIP_FLAGS=''
else
: # Install build dependencies
Expand All @@ -182,12 +183,13 @@ jobs:
pip install --no-deps ngsPETSc netgen-mesher netgen-occt

: # We have to pass '--no-build-isolation' to use a custom petsc4py
EXTRA_BUILD_ARGS='--no-isolation'
EXTRA_PIP_FLAGS='--no-build-isolation'
fi

: # Install from an sdist so we can make sure that it is not ill-formed
pip install build
python -m build ./firedrake-repo --sdist
python -m build ./firedrake-repo --sdist "$EXTRA_BUILD_ARGS"

pip install --verbose $EXTRA_PIP_FLAGS \
--no-binary h5py \
Expand Down
7 changes: 4 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@
# built documents.
#
# The short X.Y version.
import firedrake
version = "%d.%d" % firedrake.__version_info__[0:2]
import importlib.metadata
# The full version, including alpha/beta/rc tags.
release = firedrake.__version__
release = importlib.metadata.version("firedrake")
# Short version dropping the extra tags
version = ".".join(release.split(".")[:3])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
9 changes: 4 additions & 5 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ firedrake-configure
To simplify the installation process, Firedrake provides a utility script called
``firedrake-configure``. This script can be downloaded by executing::

$ curl -O https://raw.githubusercontent.com/firedrakeproject/firedrake/refs/tags/2025.4.0.post0/scripts/firedrake-configure
$ curl -O https://raw.githubusercontent.com/firedrakeproject/firedrake/master/scripts/firedrake-configure

Unlike the now deprecated ``firedrake-install`` script, ``firedrake-configure``
**does not install Firedrake for you**. It is simply a helper script that emits
the configuration options that Firedrake needs for the various steps needed
during installation.
Note that ``firedrake-configure`` **does not install Firedrake for you**. It
is simply a helper script that emits the configuration options that Firedrake
needs for the various steps needed during installation.

To improve robustness, ``firedrake-configure`` is intentionally kept extremely
minimal and simple. This means that if you want to install Firedrake in a
Expand Down
11 changes: 1 addition & 10 deletions firedrake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
from firedrake.variational_solver import *
from firedrake.eigensolver import *
from firedrake.vector import *
from firedrake.version import __version__ as ver, __version_info__, check # noqa: F401
from firedrake.ensemble import *
from firedrake.randomfunctiongen import *
from firedrake.external_operators import *
Expand All @@ -89,12 +88,7 @@
sys.modules["firedrake.plot"] = plot
from firedrake.plot import *

check()
del check, sys

from firedrake._version import get_versions
__version__ = get_versions()['version']
del get_versions
del sys


def set_blas_num_threads():
Expand Down Expand Up @@ -157,6 +151,3 @@ def warn_omp_num_threads():
_init_event.end()
del _init_event
del _is_logging

from . import _version
__version__ = _version.get_versions()['version']
Loading
Loading