Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

Remove python-dotenv and simplify dockerfile building stage - #8

Merged
RepoRover merged 3 commits into
feature/versioned-releasesfrom
refactor/dot-env
Aug 28, 2025
Merged

Remove python-dotenv and simplify dockerfile building stage#8
RepoRover merged 3 commits into
feature/versioned-releasesfrom
refactor/dot-env

Conversation

@Matheus-OAMK

Copy link
Copy Markdown
Contributor

No description provided.

- Removed python-dotenv dependency and lines utilizing it. The pydantic_settings managed the environment and should fail on missing dependencies.
- Refactiored the dockerfile to have a pinned version of UV for consistent builds.
- Simplified dockerfile by utilizing UV's prebuilt image
@Matheus-OAMK Matheus-OAMK self-assigned this Aug 28, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the python-dotenv dependency and simplifies the Docker build process by using a pre-built uv image. The changes eliminate explicit environment variable loading from .env files while preserving pydantic-settings' built-in .env file support.

  • Removed python-dotenv dependency from pyproject.toml
  • Eliminated manual .env loading and BASE_URL validation in config.py
  • Simplified Dockerfile by using official uv Alpine image instead of manual installation

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Removes python-dotenv dependency
database_schema_spec/core/config.py Removes dotenv import, manual .env loading, and BASE_URL validation
Dockerfile Replaces manual uv installation with official uv image

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread database_schema_spec/core/config.py Outdated
Comment thread Dockerfile
@Matheus-OAMK Matheus-OAMK added chores Tasks related to internal project upkeep and improvements development This is software development internal Changes that affect the project's internal structure, tooling, or infrastructure, not visible to end to-fix This should be fixed labels Aug 28, 2025

@RepoRover RepoRover left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, looks promising! Let's see this thing fly

@RepoRover
RepoRover merged commit b02025d into feature/versioned-releases Aug 28, 2025
5 checks passed
@RepoRover
RepoRover deleted the refactor/dot-env branch August 28, 2025 21:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chores Tasks related to internal project upkeep and improvements development This is software development internal Changes that affect the project's internal structure, tooling, or infrastructure, not visible to end to-fix This should be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants