Kubilay Kocak <ko...@freebsd.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 257370: [NEW PORT] databases/py-ormar: Simple async ORM with fastapi in
mind and pydantic validation
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257370



--- Comment #2 from Kubilay Kocak <ko...@freebsd.org> ---
Same again with this one:

    install_requires=[
        "databases>=0.3.2,<0.4.4",
        "pydantic>=1.6.1,!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<=1.8.2",
        "sqlalchemy>=1.3.18,<=1.3.23",
        "typing_extensions>=3.7,<=3.7.4.3",
    ],

Additionally, consider OPTIONS for extras_require [1]:

    extras_require={
        "postgresql": ["asyncpg", "psycopg2-binary"],
        "mysql": ["aiomysql", "pymysql"],
        "sqlite": ["aiosqlite"],
        "orjson": ["orjson"],
        "crypto": ["cryptography"],
    },

Note: For transitive dependencies, depend on the dependencies directly [2]

[1] https://wiki.freebsd.org/Python/PortsPolicy#Optional_Dependencies
[2]
https://wiki.freebsd.org/Python/PortsPolicy#Optional_.2F_Transitive_Dependencie
s

Reply via email to