Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
easyblock = 'PythonBundle'

name = 'Detectron2'
version = '0.6'
versionsuffix = '-CUDA-12.6.0'

homepage = 'https://github.com/facebookresearch/detectron2'
description = """Detectron2 is FAIR's next-generation platform for object detection,
segmentation and other visual recognition tasks."""

toolchain = {'name': 'foss', 'version': '2024a'}

dependencies = [
('Python', '3.12.3'),
('CUDA', '12.6.0', '', SYSTEM),
('PyTorch-bundle', '2.7.1', versionsuffix),
('SciPy-bundle', '2024.05'), # for tabulate 0.9.0, cloudpickle 3.1.1
('matplotlib', '3.9.2'),
('Pillow', '10.4.0'),
('YACS', '0.1.8'),
('pycocotools', '2.0.9'),
('Hydra', '1.3.2'),
('pydot', '3.0.3'),
('tensorboard', '2.18.0'),
]

builddependencies = [
('hatchling', '1.24.2'),
]

"""
WHAT FOLLOWS STILL NEEDS TO BE UPDATED
"""

exts_list = [
('termcolor', '2.5.0', {
'checksums': ['998d8d27da6d48442e8e1f016119076b690d962507531df4890fcd2db2ef8a6f'],
}),
('portalocker', '3.1.1', {
'checksums': ['ec20f6dda2ad9ce89fa399a5f31f4f1495f515958f0cb7ca6543cef7bb5a749e'],
}),
('iopath', '0.1.9', {
'source_tmpl': '%(name)s-%(version)s-py3-none-any.whl',
'checksums': ['9058ac24f0328decdf8dbe209b33074b8702a3c4d9ba2f7801d46cb61a880b6e'],
}),
('fvcore', '0.1.5.post20221221', {
'checksums': ['f2fb0bb90572ae651c11c78e20493ed19b2240550a7e4bbb2d6de87bdd037860'],
}),
('mypy-extensions', '1.1.0', {
'patches': ['%(name)s-%(version)s_license.patch'],
'source_tmpl': 'mypy_extensions-%(version)s.tar.gz',
'checksums': [
{'mypy_extensions-1.1.0.tar.gz': '52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558'},
{'mypy-extensions-1.1.0_license.patch': 'ad6f0666755104f94fc33f5da56dbf218517312d2be5bdc2877e3bfd879d20af'},
],
}),
('black', '21.4b2', {
'checksums': ['fc9bcf3b482b05c1f35f6a882c079dc01b9c7795827532f4cc43c0ec88067bbc'],
}),
('detectron2', version, {
'source_urls': ['https://github.com/facebookresearch/detectron2/archive/refs/tags/'],
'sources': ['v%(version)s.tar.gz'],
'checksums': ['9757fed05fa32acc2116ea038185f08409d5e854573e70f41909a358b70d1004'],
}),
]

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Author: Caspar van Leeuwen
# Company: SURF
# Without this patch, we get an error
# flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
# because PEP 621 says the license must be a dict, if it is not just a file
# Probably, this happens only with sufficiently new versions of e.g. flit_core, which is
# probably why it wasn't an issue for upstream
diff -Nru mypy_extensions-1.1.0.orig/pyproject.toml mypy_extensions-1.1.0/pyproject.toml
--- mypy_extensions-1.1.0.orig/pyproject.toml 2025-06-16 16:16:04.395222990 +0200
+++ mypy_extensions-1.1.0/pyproject.toml 2025-06-16 16:24:51.865105381 +0200
@@ -10,7 +10,7 @@
authors = [
{name = "The mypy developers", email = "jukka.lehtosalo@iki.fi"}
]
-license = "MIT"
+license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'PythonPackage'

name = 'pycocotools'
version = '2.0.9'

homepage = 'https://pypi.org/project/pycocotools'
description = "Official APIs for the MS-COCO dataset"

toolchain = {'name': 'foss', 'version': '2024a'}

sources = [SOURCE_TAR_GZ]
checksums = ['ba82e550670aa1182a911fb3e5f0e83345432044438707bd52c2519cda16872a']

builddependencies = [('Cython', '3.0.10')]

dependencies = [
('Python', '3.12.3'),
('SciPy-bundle', '2024.05'),
('matplotlib', '3.9.2'),
]

moduleclass = 'data'
Loading