Skip to content

Conversation

@keewis
Copy link
Collaborator

@keewis keewis commented Dec 8, 2025

We have quite a few environments now, but for development there are a few other tools needed. So far, we have:

  • ipython, black, and ipdb
  • pytest-accept

Feel free to accept other tools that need access to the environment. (This environment explicitly excludes typing, but it shouldn't be too hard to add another one should we need it).

Note: environments are only materialized once they are accessed, so if you never use the dev env, pixi should never download and install pytest-accept.

cc @Illviljan

@keewis keewis added the skip-ci label Dec 8, 2025
[feature.dev.dependencies]
ipython = ">=9.8.0,<10"
black = ">=25.1.0,<26"
ipdb = ">=0.13.13,<0.14"
Copy link
Contributor

@dcherian dcherian Dec 8, 2025

Choose a reason for hiding this comment

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

I've started using pdbpp now, and really like it.

Here's a list from my personal dev tool yaml. Can we add

  • pdbpp
  • line_profiler
  • memory_profiler
  • memray
  • snakeviz
  • icecream
  • ipykernel
  • snoop (haven't tried this one yet, had forgotten about it but it looks great)

Is asv in the dev env?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hmm... looks like it might be better to have a profiling feature / env, in that case. I'd probably include pyinstrument in that list, as well. memory_profiler does not appear to be maintained anymore (not sure if that's a problem).

I don't think asv is anywhere yet, I believe. Is it possible to use that with pixi, or does that have its own dependency installation system? I think I remember it using conda envs before.

Copy link
Contributor

@dcherian dcherian Dec 8, 2025

Choose a reason for hiding this comment

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

looks like it might be better to have a profiling feature / env

Why not just one big fat one? :P

memory_profiler does not appear to be maintained anymore (not sure if that's a problem).

Interesting. I still find %mprun -f in a notebook is very effective (recent example).

I don't think asv is anywhere yet, I believe. Is it possible to use that with pixi, or does that have its own dependency installation system

I think it still manages its own; but you can tell it to use rattler as a solver. I think it's useful to jsut add asv so we can run benchmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pytest-accept to a pixi developer environment

2 participants