Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mimic major-minor Connect behavior #666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 9, 2025
Merged

Mimic major-minor Connect behavior #666

merged 2 commits into from
May 9, 2025

Conversation

amol-
Copy link
Contributor

@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

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