Skip to content

Conversation

@esparig
Copy link
Member

@esparig esparig commented Oct 13, 2025

This pull request updates the project's packaging and CI workflows to improve version management, dependency handling, and release accuracy. The most important changes focus on dynamically determining the package version during release, simplifying dependency specifications, and ensuring development dependencies are installed correctly in CI.

Release workflow improvements:

  • The release build workflow now dynamically extracts the package version using setuptools-scm and exposes it as an output, enabling other workflow steps to use the exact version number.
  • The PyPI project URL in the deployment environment now includes the precise version number, ensuring that release links point to the correct versioned package.

Dependency management:

  • Dependency version constraints in pyproject.toml have been relaxed for both core and development dependencies, removing minimum version requirements to allow for greater flexibility and compatibility.

Continuous integration enhancements:

  • The test workflow now installs the package in editable mode with all development dependencies using pip install -e .[dev], ensuring that all necessary tools and libraries for testing are available in the CI environment.

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

This PR addresses dependency management issues and updates CI/CD workflows to use proper project metadata and versioning. The changes modernize the build process by leveraging setuptools-scm for version management and using editable installs with optional dependencies.

  • Remove version constraints from most dependencies while pinning webdavclient3 to a specific version
  • Update test workflow to use editable install with dev dependencies instead of manual package installation
  • Add version extraction from setuptools-scm and use it for PyPI URL generation in release workflow

Reviewed Changes

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

File Description
pyproject.toml Updated dependency specifications, removing most version constraints except for webdavclient3
.github/workflows/tests.yaml Modernized dependency installation using editable install with dev extras
.github/workflows/release-build.yaml Added version extraction step and updated PyPI URL to use dynamic versioning

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

@esparig esparig merged commit a986862 into devel Oct 13, 2025
1 check passed
@esparig esparig deleted the devops/fix-dependencies branch October 13, 2025 13:26
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.

2 participants