Skip to content
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

Loosen deps #2154

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Loosen deps #2154

wants to merge 6 commits into from

Conversation

onmete
Copy link
Contributor

@onmete onmete commented Jan 16, 2025

Description

Trying to loose deps

@openshift-ci openshift-ci bot requested review from joshuawilson and tisnik January 16, 2025 16:30
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.06%. Comparing base (e53e0c2) to head (607795a).
Report is 116 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2154      +/-   ##
==========================================
+ Coverage   96.99%   97.06%   +0.06%     
==========================================
  Files          72       73       +1     
  Lines        2930     3064     +134     
==========================================
+ Hits         2842     2974     +132     
- Misses         88       90       +2     

see 2 files with indirect coverage changes

@onmete onmete force-pushed the dep-update branch 9 times, most recently from f624fc8 to bf97540 Compare January 17, 2025 19:34
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 20, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 22, 2025
@onmete
Copy link
Contributor Author

onmete commented Jan 31, 2025

/retest

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2025
@onmete
Copy link
Contributor Author

onmete commented Jan 31, 2025

/assign @tisnik

Copy link
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

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

why is the sections in pyproject.toml moved into new places? Please keep the PR minimal.

Also don't we need to provide at least minimal major.minor versions for all packages?

Also black and mypy will be problematic if not pinned.

@onmete
Copy link
Contributor Author

onmete commented Jan 31, 2025

  • The pyproject.toml wasn't manual job, I guess the new pdm version did the reorganization.
  • minimal major.minor - then you need to periodically also increase the minimal version of all libs, no?
  • black and mypy will be problematic if not pinned - can pin

@tisnik
Copy link
Contributor

tisnik commented Jan 31, 2025

  • The pyproject.toml wasn't manual job, I guess the new pdm version did the reorganization.

probably. Could you please minimize changes made there?
And check PDM version you use locally?

* minimal major.minor - then you need to periodically also increase the minimal version of all libs, no?

no, just we'll keep it as is

* black and mypy will be problematic if not pinned - can pin

Copy link

openshift-ci bot commented Feb 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from tisnik. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@onmete
Copy link
Contributor Author

onmete commented Feb 3, 2025

@tisnik
Added minor versions.
Black and mypy pinned.
I've pinned the pdm to the previous version, but the pyproject.toml is still shuffled a bit, but I don't think it is that big of a deal. The changes are readable.

@onmete
Copy link
Contributor Author

onmete commented Feb 3, 2025

/test 4.17-e2e-ols-cluster

1 similar comment
@onmete
Copy link
Contributor Author

onmete commented Feb 4, 2025

/test 4.17-e2e-ols-cluster

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 4, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 4, 2025
@onmete
Copy link
Contributor Author

onmete commented Feb 4, 2025

/test 4.17-e2e-ols-cluster

Copy link
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

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

can you please minimize changes made in pyproject.toml? Don't move/rename sections etc.

Copy link
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

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

Keep these lines there too please:

# The following section is needed only for torch[cpu] variant on Linux,
# because this variant need to be downloaded from external link, not from
# standard Python package index:
#
# [[tool.pdm.source]]
# type = "find_links"
# url = "https://download.pytorch.org/whl/cpu/torch_stable.html"
# name = "torch"

@onmete
Copy link
Contributor Author

onmete commented Feb 5, 2025

/test 4.17-e2e-ols-cluster

requirements-build.txt Outdated Show resolved Hide resolved
@JoaoFula
Copy link
Contributor

JoaoFula commented Feb 6, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 6, 2025
@onmete
Copy link
Contributor Author

onmete commented Feb 6, 2025

/test 4.17-e2e-ols-cluster

3 similar comments
@onmete
Copy link
Contributor Author

onmete commented Feb 6, 2025

/test 4.17-e2e-ols-cluster

@onmete
Copy link
Contributor Author

onmete commented Feb 6, 2025

/test 4.17-e2e-ols-cluster

@onmete
Copy link
Contributor Author

onmete commented Feb 7, 2025

/test 4.17-e2e-ols-cluster

@tisnik
Copy link
Contributor

tisnik commented Feb 7, 2025

pyaml seems to be missing, indeed

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 7, 2025
Copy link

openshift-ci bot commented Feb 7, 2025

New changes are detected. LGTM label has been removed.

Copy link

openshift-ci bot commented Feb 7, 2025

@onmete: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/4.17-e2e-ols-cluster e63dce2 link true /test 4.17-e2e-ols-cluster

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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.

5 participants