Skip to main content
← Back to Schedule

The Magic of Dependencies Installing Themselves

to View on time.is

Online talks

We're sorry!

We made a mistake in processing the videos from DjangoCon US 2024. The sponsor acknowledgements are missing our wonderful sponsor, the Wharton School. We deeply regret this and are working to re-upload videos with our correct sponsor acknowledgements.

All videos have been marked as unlisted and will be removed in the future. We expect the new, permanent videos to be uploaded in two weeks.

About this session

When you write a Python script that has dependencies, the standard has always been to use a separate file like requirements.txt or pyproject.toml (using Tom’s Obvious, Minimal Language format) for handling the dependencies from external libraries. To share these scripts that are dependent on external libraries or other versions of Python, the process becomes more complex since the receiver has no choice but to create a new virtual environment with all the necessary dependencies. It becomes even more cumbersome in educational settings or among collaborators, where people might have different levels of Python expertise.

With the introduction of PEP 723, we’ve brought simplicity to our code, as we can now embed dependencies directly in a single file script. In this talk, we will explore this new method that enhances our productivity by making it easier to share, deploy, and work with Python scripts, making working with Django closer to being seamless.

Presented by

  • Ilerioluwakiiye Abolade

    Ilerioluwakiiye Abolade

    I'm a third year Mechatronics engineering student that has somewhat found love in writing codes. When I'm not coding, I'm dancing to Afrobeat or reading.