Skip to content

Commit 81fdfda

Browse files
committed
Small fixups
1 parent 4695448 commit 81fdfda

File tree

7 files changed

+30
-44
lines changed

7 files changed

+30
-44
lines changed

.github/workflows/core.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ jobs:
160160
EXTRA_PIP_FLAGS=''
161161
else
162162
: # Install build dependencies
163-
pip install -r ./firedrake-repo/requirements-dev.txt
164163
pip install "$PETSC_DIR"/src/binding/petsc4py
164+
pip install -r ./firedrake-repo/requirements-build.txt
165165
166166
: # Install runtime dependencies that have been removed from the pyproject.toml
167167
: # because they rely on non-PyPI versions of petsc4py.
@@ -445,8 +445,8 @@ jobs:
445445
EXTRA_PIP_FLAGS=''
446446
else
447447
: # Install build dependencies
448-
pip install -r ./firedrake-repo/requirements-dev.txt
449448
pip install "$PETSC_DIR"/src/binding/petsc4py
449+
pip install -r ./firedrake-repo/requirements-build.txt
450450
451451
: # We have to pass '--no-build-isolation' to use a custom petsc4py
452452
EXTRA_PIP_FLAGS='--no-build-isolation'

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
deploy:
9-
if: !startsWith(github.ref_name, 'Zenodo')
9+
if: ! startsWith( github.ref_name, 'Zenodo' )
1010
uses: ./.github/workflows/core.yml
1111
with:
1212
target_branch: release
@@ -15,7 +15,7 @@ jobs:
1515
secrets: inherit
1616

1717
docker:
18-
if: !startsWith(github.ref_name, 'Zenodo')
18+
if: ! startsWith( github.ref_name, 'Zenodo' )
1919
name: Build Docker containers
2020
uses: ./.github/workflows/docker.yml
2121
with:

docs/source/documentation.rst

+3-6
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@
99
Firedrake is continually tested using `GitHub actions <https://docs.github.com/en/actions>`__.
1010

1111
Latest Firedrake status: |firedrakebuild|_
12-
.. |firedrakebuild| image:: https://github.com/firedrakeproject/firedrake/actions/workflows/pr.yml/badge.svg
13-
.. _firedrakebuild: https://github.com/firedrakeproject/firedrake/actions/workflows/pr.yml
12+
.. |firedrakebuild| image:: https://github.com/firedrakeproject/firedrake/actions/workflows/push.yml/badge.svg
13+
.. _firedrakebuild: https://github.com/firedrakeproject/firedrake/actions/workflows/push.yml
1414

1515
Firedrake and its components are developed on `GitHub
16-
<http://github.com>`__ where we also maintain Firedrake-ready
17-
versions of the `FEniCS <http://fenicsproject.org>`__ components
18-
UFL.
16+
<http://github.com>`__.
1917

2018
* `Firedrake on GitHub <https://github.com/firedrakeproject/firedrake/>`__
2119
* `FIAT on GitHub <https://github.com/firedrakeproject/fiat>`__
22-
* `Firedrake version of UFL on GitHub <https://github.com/firedrakeproject/ufl>`__
2320

2421
Getting started
2522
===============

docs/source/install.rst

-6
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,6 @@ install Firedrake. To do this perform the following steps:
190190

191191
#. Firedrake is now installed and ready for use!
192192

193-
.. warning::
194-
Until Firedrake has versioned releases (slated for April/May 2025),
195-
:doc:`firedrake-zenodo</zenodo>` will only work with *editable* installations of
196-
Firedrake and its components. To install Firedrake in editable mode you
197-
should follow the instructions :ref:`below<dev_install>`.
198-
199193

200194
.. _firedrake_check:
201195

firedrake/scripts/firedrake-zenodo

+1-7
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ The Firedrake components and dependencies used were:
407407
{links}
408408
</ul>
409409
</p>
410-
""".format(title=title, links=links, doi=doi)
410+
""".format(title=title, links=links)
411411
if additional_dois:
412412
data = """{data}
413413
@@ -799,14 +799,8 @@ def check_ref_exists(component):
799799
sys.exit(1)
800800
else:
801801
repo = get_component_repository(component)
802-
# I *think* that this will fail if it doesn't exist or clashes
803-
debug = repo.commit("NOT A REAL COMMIT")
804-
breakpoint()
805802
repo.commit(shas[component]["commit_id"])
806803

807-
# log.error(f"A release of {component} is referenced but no corresponding release on GitHub can be found, aborting")
808-
# sys.exit(1)
809-
810804

811805
def make_github_release_or_tag_existing(component: str) -> None:
812806
repo = get_component_repository(component)

pyproject.toml

+20-19
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ description = "An automated system for the portable solution of partial differen
66
readme = "README.rst"
77
license = {file = "LICENSE"}
88
maintainers = [
9-
{name = "Pablo D. Brubeck"},
10-
{name = "Daiane I. Dolci"},
11-
{name = "David A. Ham", email = "[email protected]"},
12-
{name = "Josh Hope-Collins"},
13-
{name = "Koki Sagiyama"},
14-
{name = "Connor J. Ward", email = "[email protected]"},
9+
{name = "Pablo D. Brubeck"},
10+
{name = "Daiane I. Dolci"},
11+
{name = "David A. Ham", email = "[email protected]"},
12+
{name = "Josh Hope-Collins"},
13+
{name = "Koki Sagiyama"},
14+
{name = "Connor J. Ward", email = "[email protected]"},
1515
]
1616
requires-python = ">=3.10"
1717
dependencies = [
@@ -90,7 +90,8 @@ jax = [
9090
"jax",
9191
]
9292
netgen = [
93-
"ngsPETSc",
93+
# TODO RELEASE
94+
# "ngsPETSc",
9495
]
9596
slepc = [
9697
# TODO RELEASE
@@ -155,26 +156,26 @@ build-backend = "setuptools.build_meta"
155156
# TODO: Convert firedrake-zenodo to a proper entrypoint script.
156157
[tool.setuptools]
157158
script-files = [
158-
"firedrake/scripts/firedrake-zenodo",
159-
"scripts/firedrake-run-split-tests",
159+
"firedrake/scripts/firedrake-zenodo",
160+
"scripts/firedrake-run-split-tests",
160161
]
161162

162163
[tool.setuptools.package-data]
163164
# Unless specified these files will not be installed along with the
164165
# rest of the package
165166
firedrake = [
166-
"evaluate.h",
167-
"locate.c",
168-
"icons/*.png",
167+
"evaluate.h",
168+
"locate.c",
169+
"icons/*.png",
169170
]
170171
firedrake_check = [
171-
"Makefile",
172-
"tests/firedrake/conftest.py",
173-
"tests/*/*/*.py",
172+
"Makefile",
173+
"tests/firedrake/conftest.py",
174+
"tests/*/*/*.py",
174175
]
175176
pyop2 = [
176-
"*.h",
177-
"*.pxd",
178-
"*.pyx",
179-
"codegen/c/*.c",
177+
"*.h",
178+
"*.pxd",
179+
"*.pyx",
180+
"codegen/c/*.c",
180181
]

requirements-dev.txt renamed to requirements-build.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# core build dependencies (adapted from pyproject.toml)
1+
# Core build dependencies (adapted from pyproject.toml)
22
Cython>=3.0
33
libsupermesh
44
mpi4py>3; python_version >= '3.13'
@@ -9,5 +9,5 @@ pybind11
99
setuptools>61.2
1010
rtree>=1.2
1111

12-
# transitive build dependencies
12+
# Transitive build dependencies
1313
hatchling

0 commit comments

Comments
 (0)