Skip to content

Commit 63a1cb8

Browse files
committed
Reinstated eventlet 0.3 as an option in the spack package, as there are various incompatibilities that may prevent more recent versions from working
1 parent 9350a0f commit 63a1cb8

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

  • spack/repo/chimbuko/packages/py-eventlet

spack/repo/chimbuko/packages/py-eventlet/package.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@ class PyEventlet(PythonPackage):
1010
"""Concurrent networking library for Python. Override builtin with more recent version"""
1111

1212
homepage = "https://github.com/eventlet/eventlet"
13-
url = "https://github.com/eventlet/eventlet/archive/refs/tags/0.36.1.tar.gz"
13+
url = "https://github.com/eventlet/eventlet/archive/v0.30.0.tar.gz"
1414
git = "https://github.com/eventlet/eventlet"
1515

16-
#version('0.36.1', sha256='d0c598ad3886c65a78452367cb25c37196d562588292bbdb82444eaaec14c2ea')
17-
#version('0.30.0', sha256='20612435e2a4d35f41fc2af5d4c902410fab9d59da833de942188b12c52b51f7')
1816
version('0.36.1',tag='0.36.1')
17+
version('0.30.0', sha256='20612435e2a4d35f41fc2af5d4c902410fab9d59da833de942188b12c52b51f7')
18+
1919

2020
depends_on('py-setuptools', type='build')
21-
depends_on('py-greenlet@1.0:')
22-
depends_on('py-dnspython@1.15.0:', type=('build', 'run') )
21+
depends_on('py-greenlet@1.0:', when='@0.36.1')
22+
depends_on('py-greenlet@0.3:', when='@0.30.0')
23+
24+
#depends_on('py-dnspython@1.15.0:', type=('build', 'run'), when='@0.36.1')
25+
#depends_on('py-dnspython@1.15.0:1.16.0', type=('build', 'run'), when='@0.30.0')
26+
depends_on('py-dnspython@1.15.0:', type=('build', 'run'))
27+
2328
depends_on('py-monotonic@1.4:', type=('build', 'run'), when='^python@:3.5')
24-
depends_on('py-hatchling', type='build')
25-
depends_on('py-hatch-vcs', type='build')
29+
depends_on('py-hatchling', type='build', when='@0.36.1')
30+
depends_on('py-hatch-vcs', type='build', when='@0.36.1')

0 commit comments

Comments
 (0)