Skip to content

Commit

Permalink
Merge pull request #20242 from Flamefire/20240328133420_new_pr_SQLAlc…
Browse files Browse the repository at this point in the history
…hemy2029

{lib}[GCCcore/12.2.0] SQLAlchemy v2.0.29, psycopg v3.1.18
  • Loading branch information
Micket authored Mar 29, 2024
2 parents 3c50dc3 + 4b5d1f2 commit 9011c62
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/p/psycopg/psycopg-3.1.18-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'PythonPackage'

name = 'psycopg'
version = '3.1.18'

homepage = 'https://psycopg.org/'
description = "Psycopg is the most popular PostgreSQL adapter for the Python programming language."

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

sources = [SOURCE_TAR_GZ]
checksums = ['31144d3fb4c17d78094d9e579826f047d4af1da6a10427d91dfcfb6ecdf6f12b']

builddependencies = [('binutils', '2.39')]
dependencies = [
('Python', '3.10.8'),
('PostgreSQL', '15.2'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
easyblock = 'PythonBundle'

name = 'SQLAlchemy'
version = '2.0.29'

homepage = 'https://www.sqlalchemy.org/'
description = """SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
application developers the full power and flexibility of SQL. SQLAlchemy
provides a full suite of well known enterprise-level persistence patterns,
designed for efficient and high-performing database access, adapted into a
simple and Pythonic domain language."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

builddependencies = [('binutils', '2.39')]


dependencies = [
('Python', '3.10.8'),
('Greenlet', '2.0.2'),
('psycopg', '3.1.18'), # optional, postgresql extra
('Mako', '1.2.4'), # needed by alembic
]

use_pip = True

exts_list = [
('async-timeout', '4.0.3', {
'checksums': ['4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f'],
}),
('asyncpg', '0.29.0', {
'checksums': ['d1c49e1f44fffafd9a55e1a9b101590859d881d639ea2922516f5d9c512d354e'],
}),
('typing_extensions', '4.7.1', {
'checksums': ['b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2'],
}),
(name, version, {
'use_pip_extras': 'asyncio,postgresql,postgresql_asyncpg',
'checksums': ['bd9566b8e58cabd700bc367b60e90d9349cd16f0984973f98a9a09f9c64e86f0'],
}),
('alembic', '1.13.1', {
'checksums': ['4932c8558bf68f2ee92b9bbcb8218671c627064d5b08939437af6d77dc05e595'],
}),
]

sanity_pip_check = True

moduleclass = 'lib'

0 comments on commit 9011c62

Please sign in to comment.