Skip to content

Update tests workflow from conda/conda#33

Merged
jaimergp merged 8 commits intomainfrom
update-ci-matrix
Jan 19, 2026
Merged

Update tests workflow from conda/conda#33
jaimergp merged 8 commits intomainfrom
update-ci-matrix

Conversation

@jaimergp
Copy link
Member

@jaimergp jaimergp commented Jan 17, 2026

I noticed there were some outdated parts in the workflow (e.g. truststore, linux-aarch64 support) so it was time to refresh it.

Since we are only testing one Python version (3.10) to keep thing light in this still in-progress repo, I changed the matrix configuration to include because it's way clearer when we have so few cases.

I also:

  • removed the qemu and benchmark tests for now, since they were disabled. If we ever want to add them back, it'll be a matter of copying the blocks as needed.
  • removed tests/test_workarounds.py, since they don't apply for rattler (more details in commit message)
  • added a temporary workaround for Translate POSIX set to xonsh's equivalent setup-miniconda#442 doesn't work, will fix in a different PR

These tests were created for workarounds needed in libmamba. These do not apply to rattler:

- Two of them are about matchspecs, and rattler's parser doesn't need any workarounds
- The other one is for Ctrl+C, for which the rattler bindings do not exhibit any problem.
Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Did the workaround not work around?

@jaimergp
Copy link
Member Author

Did the workaround not work around?

Some weird interactive vs non interactive code. I guess the fake shell for the tests passes as interactive when it's not really one, so some of the assumptions in xonsh fail:

Warning: Input is not a terminal (fd=0).
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xonsh/main.py", line 469, in main
    sys.exit(main_xonsh(args))
             ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/xonsh/main.py", line 510, in main_xonsh
    print_welcome_screen()
  File "/usr/lib/python3/dist-packages/xonsh/xonfig.py", line 806, in print_welcome_screen
    termwidth = os.get_terminal_size().columns
                ^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 25] Inappropriate ioctl for device
Xonsh encountered an issue during launch
Failback to /bin/bash
/bin/bash: line 1: syntax error near unexpected token `$("/usr/share/miniconda/envs/test/bin/python" -m conda shell.xonsh hook)'
/bin/bash: line 1: `__xonsh__.execer.exec($("/usr/share/miniconda/envs/test/bin/python" -m conda shell.xonsh hook))'

I tried using an env var to disable the welcome message which is apparently involved in this terminal size query, so we'll see. If this doesn't work, I'll just wait for the new setup-miniconda release (tomorrow, I guess).

@jaimergp
Copy link
Member Author

Ugh, setup-miniconda it is then. Can you take a look when you have the chance, @jezdez? Thanks!

conda-incubator/setup-miniconda#443

@jaimergp
Copy link
Member Author

I'll merge for now, since any updates will need a bump in setup-miniconda anyway.

@jaimergp jaimergp merged commit b33b3f3 into main Jan 19, 2026
19 of 20 checks passed
@jaimergp jaimergp deleted the update-ci-matrix branch January 19, 2026 22:49
@jezdez
Copy link
Member

jezdez commented Jan 20, 2026

@jaimergp Released the setup-miniconda update

@jaimergp
Copy link
Member Author

Let's see if #34 works!

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.

2 participants