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

👷 check OAF version on PRs #460

Merged
merged 2 commits into from
Oct 8, 2024
Merged

👷 check OAF version on PRs #460

merged 2 commits into from
Oct 8, 2024

Conversation

Coperh
Copy link
Contributor

@Coperh Coperh commented Oct 1, 2024

@Coperh
Copy link
Contributor Author

Coperh commented Oct 1, 2024

Needs #458 to be merged

@Coperh
Copy link
Contributor Author

Coperh commented Oct 1, 2024

Should I pin pip-tools or should I add it to the check OAF version action?

@SonnyBA
Copy link
Contributor

SonnyBA commented Oct 1, 2024

Why should it be pinned? It is currently added through dev.in which is correct right?

@Coperh
Copy link
Contributor Author

Coperh commented Oct 1, 2024

About this comment: maykinmedia/open-klant#255 (comment)

IF there is a stable branch, you might want to keep OAF at a certain version, so you might only want to keep master up to date.

@Coperh
Copy link
Contributor Author

Coperh commented Oct 1, 2024

Why should it be pinned? It is currently added through dev.in which is correct right?

It currently uses the latest version of setup-tools and does not use the requirements file at all.

It does make sense to use the requirements file since that's what devs should use anyway.

- name: Install dependencies
run: pip install -U pip-tools
run: pip install -r requirements/dev.txt # use the same pip-tools as dev
Copy link
Contributor

Choose a reason for hiding this comment

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

We could do something like this to avoid installing unnecessary dependencies, pip isn't the fastest

pip install $(grep "pip-tools==" requirements/dev.txt)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems to work

@Coperh Coperh merged commit fb2ba7d into master Oct 8, 2024
12 checks passed
@Coperh Coperh deleted the feature/check-oaf-on-pr branch October 8, 2024 16:01
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.

Script to check if all components use the latest OAf
3 participants