Skip to content

Migrate Pelican setup to Python 3.14 + uv#233

Merged
alehpineda merged 2 commits intopelicanfrom
feature/dependency_update
Feb 15, 2026
Merged

Migrate Pelican setup to Python 3.14 + uv#233
alehpineda merged 2 commits intopelicanfrom
feature/dependency_update

Conversation

@alehpineda
Copy link
Contributor

@alehpineda alehpineda commented Feb 14, 2026

Summary

  • migrate dependency management from requirements/pip to uv (pyproject.toml + uv.lock)
  • update GitHub Actions build/publish workflows to Python 3.14 and uv commands
  • update README and CONTRIBUTING guides (EN/ES/PT) with uv-based local setup and Pelican commands

Validation

  • uv sync --frozen
  • uv run pelican content -o output -s pelicanconf.py
  • uv run pelican --help

alehpineda and others added 2 commits February 14, 2026 10:55
Replace pip/requirements workflow with uv lock/sync, update GitHub Actions to Python 3.14, and remove requirements.txt as the dependency source.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document uv installation, uv sync, and uv-run pelican commands across README and contribution guides in supported languages.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 14, 2026 16:56
@alehpineda alehpineda self-assigned this Feb 14, 2026
@alehpineda alehpineda requested a review from a team February 14, 2026 17:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Migrates the Pelican site’s Python tooling from requirements.txt/pip to uv, updates CI workflows to use Python 3.14 + uv, and refreshes contributor docs to reflect the new setup.

Changes:

  • Introduce pyproject.toml + uv.lock and remove requirements.txt.
  • Update GitHub Actions build/publish workflows to use actions/setup-python@v5, Python 3.14, astral-sh/setup-uv, and uv sync/uv run.
  • Update README/CONTRIBUTING guides (EN/ES/PT) with uv-based install and Pelican commands.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
uv.lock Adds uv lockfile pinning transitive dependencies and Python requirement.
requirements.txt Removes legacy pip requirements file.
pyproject.toml Defines project metadata + runtime dependencies and uv configuration.
README.md Documents local development using uv sync --frozen and uv run pelican ....
README_es_MX.md Updates setup instructions to use uv.
CONTRIBUTING.md Updates setup instructions to use uv.
CONTRIBUTING_en_US.md Updates setup instructions to use uv.
CONTRIBUTING_es_MX.md Updates setup instructions to use uv.
CONTRIBUTING_pr_BR.md Updates setup instructions to use uv.
.github/workflows/build.yml CI build updated to Python 3.14 + uv.
.github/workflows/publish.yml Publish workflow updated to Python 3.14 + uv for build/deploy steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

pelican -l -r
uv run pelican -l -r

#press ctrl+c to exit the local server
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

Minor formatting in the shell comment: add a space after # so it renders/readability matches the other comments.

Suggested change
#press ctrl+c to exit the local server
# press ctrl+c to exit the local server

Copilot uses AI. Check for mistakes.
Comment on lines 10 to 12
publish:
runs-on: ubuntu-latest
steps:
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

This workflow pushes back to the repo (git push -f origin master). To make that reliable across org/repo settings, explicitly set job/workflow permissions: contents: write (otherwise GITHUB_TOKEN is often read-only by default and the push can fail).

Copilot uses AI. Check for mistakes.
@ChicoXXX
Copy link
Contributor

LGTM

@alehpineda alehpineda merged commit aa43ad3 into pelican Feb 15, 2026
7 checks passed
@alehpineda alehpineda deleted the feature/dependency_update branch February 15, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants