Dev branch pip install not working

Hi Cadet Team ,

pip uninstall cadet-process
pip install git+https://github.com/fau-advanced-separations/CADET-Process.git@dev

I recently ran the above pip install commands as part of my fortnightly update of my CADET-Process dev branch. Normally this all works fine but despite a “successfully installed” message in miniforge prompt it appears that none of the folder scripts like “fractionation” have copied into the CADET-Process folder in site packages within the environment (See attached image). This hasn’t happened to me before and a little lost on how to fix !

Thanks

I ran into the same issue installing the dev branch directly from github. I ended up cloning the branch locally and installing it from local in editable mode with pip install -e <path_to_cadet_process_dir>. Maybe something with the pyproject.toml changed?

1 Like

Interesting, thanks for reporting this!

we actually did migrate from setup.cfg to pyproject.toml a while ago but I had forgotten to delete the setup.cfg file :see_no_evil: which I then did a couple of weeks ago. I’ll have to investigate it.

2 Likes

Could you please try the following:

pip uninstall cadet-process
pip install git+https://github.com/fau-advanced-separations/CADET-Process.git@fix_pyproject.toml
1 Like

I can confirm that this resolves the issue for me at least. Thanks for the quick response!

Thanks for testing. I merged into dev so that should hopefully work again.

Hopefully, this week we can make the following releases

  • CADET-Core v5.0.2
  • CADET-Python v1.0.2
  • CADET-Process v0.10.0

This should fix quite some minor annoyances that have accumulated. Hopefully, in future we can make more regular and smaller releases.

2 Likes

Could you advise on the best way to install the ax platform currently when using the dev branch ? Is th below yml file appropriate?

name: cadet_process
channels:
  - conda-forge
dependencies:
  - python=3.11  # currently recommended for cadet-process installations 
  - pip
  - cadet
  - jupyterlab  # optional, to run jupyter notebooks
  - openpyxl    # optional, to open .xlsx files
#  - git         # optional, for version control
  - pip:
      - git+https://github.com//fau-advanced-separations/CADET-Process.git@dev
      - cadet-process[ax]

`