Skip to content

Commit 6b6e4d0

Browse files
authored
Remove dependency on py-xnrl (#1753)
1 parent 94be808 commit 6b6e4d0

7 files changed

Lines changed: 4 additions & 35 deletions

File tree

.github/workflows/ubuntu-ci-x86_64-gnu.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ jobs:
9999
# Add additional variants for MET packages, different from config/common/packages.yaml
100100
spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis"
101101
102-
# Turn off variant xnrl for neptune-python-env because xnrl is not publicly available
103-
if [[ "${TEMPLATE}" == *"neptune-dev"* ]]; then
104-
sed -i 's/+xnrl/~xnrl/g' ${ENVDIR}/spack.yaml
105-
fi
106-
107102
# Concretize and check for duplicates
108103
spack concretize 2>&1 | tee log.concretize.gnu-11.4.0-buildcache
109104
${SPACK_STACK_DIR}/util/show_duplicate_packages.py -i fms -i crtm -i crtm-fix -i esmf -i mapl -i neptune-env

configs/sites/tier1/atlantis/packages.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ packages:
8787
# externals:
8888
# - spec: openssl@1.1.1k
8989
# prefix: /usr
90-
# Can't use with py-xnrl
91-
#perl:
92-
# externals:
93-
# - spec: perl@5.26.3~cpanm+shared+threads
94-
# prefix: /usr
9590
pkgconf:
9691
externals:
9792
- spec: pkgconf@1.4.2

configs/sites/tier1/nautilus/packages.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ packages:
1717
require:
1818
- '@2.5.1'
1919

20-
# All other packages listed alphabetically
20+
# All other packages listed alphabetically
2121
autoconf:
2222
externals:
2323
- spec: autoconf@2.69
@@ -30,13 +30,6 @@ packages:
3030
externals:
3131
- spec: binutils@2.30.117
3232
prefix: /usr
33-
# Need to comment out for scotch (wants 3.4:),
34-
# but how do we deal with oneapi installations?
35-
# bison doesn't build with oneAPI.
36-
#bison:
37-
# externals:
38-
# - spec: bison@3.0.4
39-
# prefix: /usr
4033
coreutils:
4134
externals:
4235
- spec: coreutils@8.30
@@ -91,11 +84,6 @@ packages:
9184
prefix: /p/app/projects/NEPTUNE/spack-stack/mysql-8.0.31
9285
modules:
9386
- mysql/8.0.31
94-
# Needed to remove for xnrl w/intel, hopefully ok with oneapi
95-
#perl:
96-
# externals:
97-
# - spec: perl@5.26.3~cpanm+open+shared+threads
98-
# prefix: /usr
9987
pkgconf:
10088
externals:
10189
- spec: pkgconf@1.4.2

configs/templates/neptune-dev/spack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spack:
1010
- packages:
1111
- neptune-env ~debug +espc ^esmf@=8.9.0b12 snapshot=b12
1212
- neptune-env +debug +espc ^esmf@=8.9.0b12 snapshot=b12
13-
- neptune-python-env +xnrl ^neptune-env ~debug +espc ^esmf@=8.9.0b12 snapshot=b12
13+
- neptune-python-env ^neptune-env ~debug +espc ^esmf@=8.9.0b12 snapshot=b12
1414

1515
specs:
1616
- matrix:

doc/source/PreConfiguredSites.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following naming conventions are used on all fully-supported (tier 1) sites.
2424
+----------------------------------+---------------------------------------------------------+-------------------+------------------------------+
2525
| ``skylab-dev`` | JEDI/Skylab environment for JEDI, models, EWOK | ``se`` | ``se-apple-clang-14.0.6`` |
2626
+----------------------------------+---------------------------------------------------------+-------------------+------------------------------+
27-
| ``neptune-dev`` | NEPTUNE standalone environment (with xNRL Python) | ``ne`` | ``ne-oneapi-2024.2.1`` |
27+
| ``neptune-dev`` | NEPTUNE-JEDI standalone environment | ``ne`` | ``ne-oneapi-2024.2.1`` |
2828
+----------------------------------+---------------------------------------------------------+-------------------+------------------------------+
2929
| ``cylc-dev`` | Environment for running cylc (separate from other envs) | ``ce`` | ``ce-gcc-10.3.0`` |
3030
+----------------------------------+---------------------------------------------------------+-------------------+------------------------------+

spack-ext/repos/spack-stack/packages/gmao-swell-env/package.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ class GmaoSwellEnv(BundlePackage):
4949
depends_on("py-pyyaml", type="run")
5050
depends_on("py-ruamel-yaml", type="run")
5151
depends_on("py-ruamel-yaml-clib", type="run")
52-
# Note that the +delayed option is for compatibility
53-
# with the py-xnrl package (this restricts py-dask
54-
# to certain versions, since the newest versions
55-
# don't have that option anymore.
56-
depends_on("py-dask +delayed", type="run")
52+
depends_on("py-dask", type="run")
5753

5854
# Future dependencies needed
5955
# depends_on("py-bokeh", type="run")

spack-ext/repos/spack-stack/packages/neptune-python-env/package.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class NeptunePythonEnv(BundlePackage):
1919

2020
version("1.5.0")
2121

22-
variant("xnrl", default=False, description="Build non-pulic XNRL")
23-
2422
depends_on("neptune-env", type="run")
2523
# Enable the Python variant for ESMF
2624
depends_on("esmf +python", type="run")
@@ -42,7 +40,4 @@ class NeptunePythonEnv(BundlePackage):
4240
depends_on("met", type="run")
4341
depends_on("metplus", type="run")
4442

45-
with when("+xnrl"):
46-
depends_on("py-xnrl", type="run")
47-
4843
# There is no need for install() since there is no code.

0 commit comments

Comments
 (0)