Skip to content

Remove lower bound version on cpp-argparse environment-dev.yml#271

Merged
anutosh491 merged 12 commits into
compiler-research:mainfrom
mcbarton:Remove-lower-bound-on-cppargparse
May 30, 2025
Merged

Remove lower bound version on cpp-argparse environment-dev.yml#271
anutosh491 merged 12 commits into
compiler-research:mainfrom
mcbarton:Remove-lower-bound-on-cppargparse

Conversation

@mcbarton

@mcbarton mcbarton commented Mar 6, 2025

Copy link
Copy Markdown
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.

Conda will automatically pick the most recent release of cpp-argparse it can. Therefore the lower bound is not necessary in the yml file. We just need to make sure we don't pick a version 4 release when it happens in case we are not compatible with it.

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@codecov-commenter

codecov-commenter commented Mar 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.78%. Comparing base (93d7a6a) to head (26ffb9b).
⚠️ Report is 92 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   81.78%   81.78%           
=======================================
  Files          20       20           
  Lines         950      950           
  Branches       87       87           
=======================================
  Hits          777      777           
  Misses        173      173           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@anutosh491

Copy link
Copy Markdown
Collaborator

Hmm, I guess we don't need anything. We don't have any bound on our feedstock

https://github.com/conda-forge/xeus-cpp-feedstock/blob/main/recipe/meta.yaml#L30

If we think any update would bring any failure (like any deprecation or anything)
in that case we can probably make a release with the last compatible argparse and then shift to the later version.

@anutosh491

Copy link
Copy Markdown
Collaborator

Let's just remove any bound on argparse from everywhere

https://github.com/search?q=repo%3Acompiler-research%2Fxeus-cpp%20%3E%3D3.0%2C%3C4.0&type=code

@mcbarton mcbarton force-pushed the Remove-lower-bound-on-cppargparse branch 2 times, most recently from 0ee741c to cc64083 Compare March 9, 2025 21:02
@mcbarton

mcbarton commented Mar 9, 2025

Copy link
Copy Markdown
Collaborator Author

@anutosh491 I've applied your suggestion, and the PR is ready for another review

@anutosh491

Copy link
Copy Markdown
Collaborator

Perfect, let's move it in !

Comment thread README.md Outdated
@mcbarton mcbarton force-pushed the Remove-lower-bound-on-cppargparse branch from cc64083 to 786affd Compare April 3, 2025 19:47

@vgvassilev vgvassilev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread README.md Outdated
@mcbarton

Copy link
Copy Markdown
Collaborator Author

@SylvainCorlay can you provide some insight as to whether this table in the Readme is truly needed?

In this PR I am trying to make is so we are equivalent for the native build and the emscripten build, in having no pinning of cpp-argparse. Initially I removed cpp-argparse from the table since it is no longer restrained. @anutosh491 believes it should be kept in.

I feel the table is not partiular very useful, as I feel its unlikely we are going to want people to go back and build old versions, and if they are they could just use the environment file in the release. I think its best removed, but looking for your opinion on this.

@mcbarton mcbarton requested a review from SylvainCorlay May 27, 2025 06:37
Comment thread README.md
Comment thread README.md
Comment thread README.md
@mcbarton mcbarton requested a review from anutosh491 May 30, 2025 08:12

@anutosh491 anutosh491 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this is good ;)

Let's release !

@anutosh491 anutosh491 merged commit d80dfcc into compiler-research:main May 30, 2025
14 checks passed
@mcbarton mcbarton deleted the Remove-lower-bound-on-cppargparse branch June 27, 2025 12:56
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.

4 participants