Skip to content

Commit

Permalink
Merge pull request #21292 from Flamefire/default-opts
Browse files Browse the repository at this point in the history
use top-level parameters for `use_pip` & co instead of `exts_default_options` for `PythonBundle` easyconfigs
  • Loading branch information
boegel authored Sep 11, 2024
2 parents 01f853b + 423f374 commit eb81403
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ preinstallopts = "sed -i 's/theano/Theano-PyMC/g' setup.py && "

use_pip = True

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}

exts_list = [
('opt-einsum', '3.3.0', {
'source_tmpl': 'opt_einsum-%(version)s.tar.gz',
Expand Down
7 changes: 2 additions & 5 deletions easybuild/easyconfigs/f/flit/flit-3.9.0-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ dependencies = [
('Python', '3.11.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('idna', '3.4', {
Expand Down
7 changes: 2 additions & 5 deletions easybuild/easyconfigs/f/flit/flit-3.9.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.11.5'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('idna', '3.4', {
Expand Down
7 changes: 2 additions & 5 deletions easybuild/easyconfigs/f/flit/flit-3.9.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.12.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('idna', '3.7', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ dependencies = [
('Python-bundle-PyPI', '2023.06'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('Markdown', '3.5.2', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ dependencies = [
]
builddependencies = [('binutils', '2.35')]

exts_default_options = {
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('pbr', '5.6.0', {
'checksums': ['42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd'],
Expand Down Expand Up @@ -121,7 +121,6 @@ exts_list = [
}),
]

sanity_pip_check = True
enhance_sanity_check = True
sanity_check_commands = ['openstack -h']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ dependencies = [
]
builddependencies = [('binutils', '2.37')]

exts_default_options = {
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('pyperclip', '1.8.2', {
'checksums': ['105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57'],
Expand Down Expand Up @@ -121,7 +121,6 @@ exts_list = [
}),
]

sanity_pip_check = True
enhance_sanity_check = True
sanity_check_commands = ['openstack -h']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ dependencies = [
]
builddependencies = [('binutils', '2.39')]

exts_default_options = {
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('pyperclip', '1.8.2', {
'checksums': ['105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57'],
Expand Down Expand Up @@ -114,7 +114,6 @@ exts_list = [
}),
]

sanity_pip_check = True
enhance_sanity_check = True
sanity_check_commands = ['openstack -h']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ dependencies = [
('Python', '3.8.6'),
]

exts_default_options = {
'use_pip': True
}
sanity_pip_check = True
use_pip = True

exts_list = [
('Logbook', '1.5.3', {
Expand All @@ -37,6 +36,4 @@ exts_list = [
}),
]

sanity_pip_check = True

moduleclass = 'tools'
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ dependencies = [
('virtualenv', '20.23.1'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

# order is important!
# package versions updated 2023-06-26
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ dependencies = [
('virtualenv', '20.24.6'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

# order is important!
# package versions updated 2023-10-29
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ dependencies = [
('virtualenv', '20.26.2'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

# order is important!
# package versions updated 2024-06-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.11.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('typing_extensions', '4.6.3', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.11.5'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('typing_extensions', '4.8.0', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.12.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('typing-extensions', '4.12.2', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.11.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('distlib', '0.3.6', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.11.5'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('distlib', '0.3.7', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ dependencies = [
('Python', '3.12.3'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}
sanity_pip_check = True
use_pip = True

exts_list = [
('distlib', '0.3.8', {
Expand Down

0 comments on commit eb81403

Please sign in to comment.