-
Notifications
You must be signed in to change notification settings - Fork 75
test: Validate lowest version requirements #2923
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
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request adds a new Nox session to test the package with the lowest dependency versions, updates the minimum version requirements for some dependencies, and adds a new job to the GitHub Actions workflow to run the new Nox session. The new session uses uv to install the lowest possible versions of the dependencies and then runs pytest. Sequence diagram for test-lowest sessionsequenceDiagram
participant Session
participant uv
participant pip
participant compile
participant pytest
Session->>uv: install uv, sync, --frozen, --no-dev, --group=testing, --extra=...
Session->>uv: install uv, pip, compile
Session->>compile: pyproject.toml, --python=3.9, --all-extras, --universal, --resolution, lowest-direct, -o=...
compile-->>Session: requirements.txt
Session->>pip: install -r requirements.txt
Session->>pytest: run pytest
Updated class diagram for dependenciesclassDiagram
class dependencies {
-click~=8.0
-fs>=2.4.16
-fsspec>=2024.9.0
-importlib-metadata>=6.5; python_version<"3.12"
-importlib-resources>=5.12.0,!=6.2.0,!=6.3.0,!=6.3.1; python_version<"3.10"
-inflection>=0.5.1
-joblib>=1.3.0
-lxml>=4.6.3
-msgspec>=0.18.0
-pandas>=1.5.3
-pydantic>=2.0
-python-dateutil>=2.8.1
-requests>=2.25.1
-setuptools>=65,<=70.3.0
-simpleeval>=0.9.13,!=1.0.1
-simplejson>=3.17.6
-sqlalchemy>=2
-typing-extensions>=4.5.0
}
class parquet {
-pyarrow>=15
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2923 +/- ##
=======================================
Coverage 91.53% 91.53%
=======================================
Files 63 63
Lines 5319 5319
Branches 683 683
=======================================
Hits 4869 4869
Misses 318 318
Partials 132 132 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #2923 will not alter performanceComparing Summary
|
0595367
to
77fec86
Compare
77fec86
to
815c5aa
Compare
Summary by Sourcery
Adds a new test session to validate the package's compatibility with the lowest supported versions of its dependencies, and configures CI to run this test.
Tests:
📚 Documentation preview 📚: https://meltano-sdk--2923.org.readthedocs.build/en/2923/