Skip to content

Conversation

@amol-
Copy link
Collaborator

@amol- amol- commented May 9, 2025

Intent

Adapt all version numbers that don't have a constraint to a compatible constraint that accepts any patch release.

Type of Change

    • New Feature

Approach

Change adapt_python_requires function in charge of performing the correct padding of version number and applying the compatible operator.

User Impact

Mimics the major-minor current behaviour of connect

Automated Tests

Tested by the test_python_version_file_adapt test.

Checklist

As far as I can see the current CHANGELOG still applies

@github-actions
Copy link

github-actions bot commented May 9, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4918 3700 75% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/pyproject.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 8c3506d by action🐍

@amol- amol- requested review from Lytol and marcosnav May 9, 2025 10:30
@amol- amol- marked this pull request as ready for review May 9, 2025 10:33
@amol- amol- changed the title Mimic major-minor behavior Mimic major-minor Connect behavior May 9, 2025
@amol- amol- merged commit 59bb89d into main May 9, 2025
11 of 13 checks passed
@amol- amol- deleted the minmajor branch May 9, 2025 19:35
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