Home / Companies / Earthly / Blog / June 2024

June 2024 Summaries

3 posts from Earthly

Filter
Month: Year:
Post Summaries Back to Blog
Python virtual environments, particularly using the virtualenv tool, offer developers a way to manage dependencies for multiple projects by creating isolated environments that prevent conflicts and ensure that each project has its own set of dependencies. This isolation is crucial for avoiding issues that arise when different projects require different versions of the same library or even different versions of Python itself. With virtualenv, developers can easily create, activate, and deactivate virtual environments, install packages without affecting the global Python installation, and maintain project consistency by using a requirements.txt file to track dependencies. Despite its benefits, virtualenv has limitations, such as not handling system-level dependencies or guaranteeing reproducibility across different platforms. To address these shortcomings, especially in CI/CD pipelines, the article suggests using Earthly, a CI/CD framework that manages both Python and system-level dependencies through containerization, ensuring consistent and reproducible environments across diverse systems.
Jun 13, 2024 1,768 words in the original blog post.
The text is a comprehensive guide on using virtual environments in Python development to manage dependencies effectively, particularly focusing on the "uv" tool, which provides an efficient alternative to "pip" for installing packages and creating isolated environments. The tutorial explains step-by-step instructions for setting up projects with virtual environments, activating them, and installing necessary packages while highlighting the benefits of using virtual environments to prevent dependency conflicts between projects. Additionally, it mentions "uv's" limitations, such as its inability to manage system-wide dependencies and lack of containerization capabilities, recommending "Earthly" as a solution for more extensive projects that require both Python and system-wide package management. Earthly is described as a tool similar to Docker, offering features like containerization, caching, and efficient dependency management, making it suitable for large-scale projects. The article concludes by emphasizing the importance of virtual environments in isolating development environments and suggests Earthly for overcoming "uv's" limitations in larger projects.
Jun 13, 2024 1,653 words in the original blog post.
Earthly has introduced a revamped user interface for Earthly Cloud, incorporating user feedback to enhance functionality and usability. The updated UI includes a comprehensive Home Dashboard with sections for Active Builds and Satellites, allowing users to easily track build statuses and instance details. A new Build Details screen offers four tabs—Overview, Timings, Graph, and Logs—providing detailed insights into build performance, including execution commands, durations, and visual graphs of target runs. The Timings tab is divided into Target Timings and Command Timings, offering granular breakdowns of execution times. The Build Graph tab visually represents dependencies between targets, while the Logs tab displays familiar build logs. Earthly encourages users to sign up for Earthly Cloud to experience the new features and provides an opportunity for feedback on potential future enhancements.
Jun 04, 2024 756 words in the original blog post.