Skip to content

ci: Update 'Remove old wheels' workflow anaconda-client to v1.14.0#156

Merged
matthewfeickert merged 1 commit into
scientific-python:mainfrom
matthewfeickert:ci/update-removal-workflow
Jan 27, 2026
Merged

ci: Update 'Remove old wheels' workflow anaconda-client to v1.14.0#156
matthewfeickert merged 1 commit into
scientific-python:mainfrom
matthewfeickert:ci/update-removal-workflow

Conversation

@matthewfeickert
Copy link
Copy Markdown
Member

While looking at Issue #155 I noticed that there were a lot of warnings filling up the CI logs

/home/runner/micromamba/envs/remove-wheels/lib/python3.12/site-packages/binstar_client/__init__.py:15: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import parse_version as pv

We can alleviate this by updating to the v1.14.0 series, but will still have some warnings raised that are just from anaconda-client's behavior.

$ docker run --rm -ti ghcr.io/prefix-dev/pixi:latest 
root@3586a6ecb365:/# pixi init example && cd example && pixi add anaconda-client && pixi run anaconda remove --help
Created /example/pixi.toml
Added anaconda-client >=1.14.0,<2
/example/.pixi/envs/default/lib/python3.14/site-packages/binstar_client/commands/authorizations.py:292: PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.
  token_group.add_argument('--out', default=sys.stdout, type=argparse.FileType('w'))
                                                                                                                                                                                        
 Usage: anaconda remove [OPTIONS]                                                                                                                                                       
                                                                                                                                                                                        
 Remove an object from your Anaconda repository.                                                                                                                                        
                                                                                                                                                                                        
 example::                                                                                                                                                                              
                                                                                                                                                                                        
 anaconda remove sean/meta/1.2.0/meta.tar.gz (alias for 'anaconda org remove')                                                                                                          
                                                                                                                                                                                        
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Note that this is a different version than what we are using in the upload workflow

anaconda-client = "==1.13.1"

but that isn't a problem, per se, as the workflows are fully decoupled.

  • Update anaconda-client in the old wheels removal workflow to v1.14.0.
    • Drop python from the environment creation arguments as python is a dependency of anaconda-client and the CPython version used should not be a concern here, as this is a conda package.

* Update anaconda-client in the old wheels removal workflow to v1.14.0.
   - Drop python from the environment creation arguments as python is a
     dependency of anaconda-client and the CPython version used should not be
     a concern here, as this is a conda package.
@matthewfeickert matthewfeickert self-assigned this Jan 27, 2026
@matthewfeickert
Copy link
Copy Markdown
Member Author

@scientific-python/nightly-wheels-developers this is ready for review.

Copy link
Copy Markdown
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

This looks all good to me, thanks!

@matthewfeickert matthewfeickert merged commit 10c7394 into scientific-python:main Jan 27, 2026
1 of 2 checks passed
@matthewfeickert matthewfeickert deleted the ci/update-removal-workflow branch January 27, 2026 19:48
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