Hi Loris,

As you already noticed, the above eb command uploaded
CPLEX-22.10-GCCcore-11.2.0.eb, but did not remove
CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb.

To remove it from the command line, you can use (notice the colon before
the easyconfig that is removed):
eb --update-pr xxx ... CPLEX-22.10-GCCcore-11.2.0.eb
:CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb

On Fri, Nov 4, 2022 at 1:07 PM Loris Bennett <[email protected]>
wrote:

> Hi,
>
> I guess I screwed up somewhere, but I ran the following
>
>   eb --git-working-dirs-path=~/git --github-user=tardigradus --update-pr
> 16003 --pr-commit-msg "Remove version suffix, correct Java dep., use
> download_instructions " CPLEX-22.10-GCCcore-11.2.0.eb
>
> but from the output below, it seems like the tests were run against the
> previous version of the file, which was called
>
>   CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb
>
> Renaming the file was one of the changes requested by the reviewer.
>
> How can I get the tests to run against the correct version of the file?
>
> Cheers,
>
> Loris
>
>
> boegelbot <[email protected]> writes:
>
> > @tardigradus: Tests failed in GitHub Actions, see
> https://github.com/easybuilders/easybuild-easyconfigs/actions/runs/3392524975
> > Output from first failing test suite run:
> >
> > FAIL: test__parse_easyconfig_CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb
> (test.easyconfigs.easyconfigs.EasyConfigTest)
> > Test for easyconfig CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test/easyconfigs/easyconfigs.py", line 1508, in innertest
> >     template_easyconfig_test(self, spec_path)
> >   File "test/easyconfigs/easyconfigs.py", line 1483, in
> template_easyconfig_test
> >     self.fail(error_msg)
> > AssertionError: use of `True` to indicate the system toolchain for
> dependency Java is deprecated, use the `SYSTEM` template constant instead
> >
> > ======================================================================
> > FAIL: test_pr_python_packages
> (test.easyconfigs.easyconfigs.EasyConfigTest)
> > Several checks for easyconfigs that install (bundles of) Python packages.
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test/easyconfigs/easyconfigs.py", line 1067, in
> test_pr_python_packages
> >     self.fail('\n'.join(failing_checks))
> > AssertionError: '-Python-%(pyver)s' should no longer be included in
> versionsuffix in CPLEX-22.10-GCCcore-11.2.0-Python-3.9.6.eb
> >
> > ----------------------------------------------------------------------
> > Ran 15620 tests in 595.818s
> >
> > FAILED (failures=2)
> > ERROR: Not all tests were successful
> >
> > bleep, bloop, I'm just a bot (boegelbot v20200716.01)
> > Please talk to my owner @boegel if you notice you me acting stupid),
> > or submit a pull request to https://github.com/boegel/boegelbot fix the
> problem.
> >
> > —
> > Reply to this email directly, view it on GitHub, or unsubscribe.
> > You are receiving this because you were mentioned.
> >
> --
> Dr. Loris Bennett (Herr/Mr)
> ZEDAT, Freie Universität Berlin         Email [email protected]
>

Reply via email to