:wave: I've been doing some deployment testing and...
# dagster-serverless
j
👋 I've been doing some deployment testing and I seem to have messed up my ability to deploy with the standard deploy.yml. My build gets stuck on the
Dagster Serverless Docker Deploy
job. on layer #10 of the dockerfile I just spin indefinitely on
Preparing metadata (setup.py): started
The problem may have been when I removed the github code location and re-added it? Any insight into what steps I can take to resolve from here?
d
Hi Joel - any chance you’d be able to share the setup.py in question? Last time I saw this it actually turned out that the setup.py was configured in a way that made it scan the entire filesystem of the contaienr
j
Copy code
"""Package builder for Dagster Project"""
from setuptools import find_namespace_packages, setup

if __name__ == "__main__":
    setup(
        name="sealed_dagster",
        packages=find_namespace_packages(exclude=["sealed_dagster_tests"]),
        install_requires=[
            "dagster",
            "dagster-airbyte",
            "dagster-dbt",
            "dagster-managed-elements",
            "dagster-snowflake",
            "dagster-snowflake-pandas",
            "dagster-cloud",
            "dbt-core",
            "dbt-snowflake",
            "degreedays",
        ],
        extras_require={"dev": ["dagit", "pytest"]},
    )
I haven't made any changes here since the last successful deploy
d
Try find_packages instead of find_namespace_packages
👍 1
j
Okay, that got me through that step! Thanks Daniel!
condagster 1
d
No problem - there's likely some changes we can make on our side to make it not do that, but I think its scanning the whole filesystem looking for packages with find_namespace_packages