Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install capitains-nautilus==2.0.0 in pip #95

Open
marktani opened this issue Mar 29, 2023 · 6 comments
Open

Cannot install capitains-nautilus==2.0.0 in pip #95

marktani opened this issue Mar 29, 2023 · 6 comments

Comments

@marktani
Copy link
Contributor

marktani commented Mar 29, 2023

It seems like version 2.0.0 hasn't been released to pip yet, only these versions are available:

$ pip index versions capitains-nautilus
capitains-nautilus (1.0.3)
Available versions: 1.0.3, 1.0.2, 1.0.1, 1.0.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1

When I use version 1.0.3 in my own project, I get the error message ModuleNotFoundError: No module named 'werkzeug.contrib'. I'd like to use capitains-nautilus exactly as in this repo in commit 86c9983.

@rillian
Copy link
Contributor

rillian commented Mar 29, 2023

See also cdli-gh/cdli-cts-server#13

@marktani
Copy link
Contributor Author

It seems there is actually a publish pipeline set up with Github actions triggered with each commit on dev, but it is currently failing.

@marktani
Copy link
Contributor Author

marktani commented Mar 29, 2023

I reached a working setup, albeit using a bit of a hack: installing this repo as a submodule and install it as a local python module. I documented my steps in the README of https://github.com/marktani/pdl-cts-server, here's a quick summary:

# in project root
git submodule add git@github.com:Capitains/Nautilus.git
cd Nautilus
git reset --hard 86c9983087b39b801892ebe4f03e11bdb27800e3
cd ..

# create virtual environment
python3 -m venv venv
source venv/bin/activate # in fish: source venv/bin/activate.fish

# install `capitains-nautilus`
python -m pip install -e Nautilus/

@PonteIneptique
Copy link
Member

The 2.0.0 has not been released because we are waiting for the DTS API specs to be finalized, which unfortunately is taking way more time than expected.

If you require this library, we can work out something (such as 2.0.0 will be the stable version for you, and then 3.0.0 will be the DTS one). I'll happily share the work on this library :)

@PonteIneptique
Copy link
Member

I just made some cleaning on the dev branch for the test to pass.
I will welcome any contribution :)

@marktani
Copy link
Contributor Author

Thanks! I didn't know about DTS. I was able to get my CTS server up and running, and I am happy with my workaround for now.

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

No branches or pull requests

3 participants