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

Mamba/Conda installs 2.0.0.rc4 instead of 2.0.0.post1 #16

Closed
RichardDale opened this issue May 4, 2021 · 5 comments
Closed

Mamba/Conda installs 2.0.0.rc4 instead of 2.0.0.post1 #16

RichardDale opened this issue May 4, 2021 · 5 comments

Comments

@RichardDale
Copy link

Hi Stefan,

Nice work on packaging up 2.0.0.post1 - I've seen the recent commits and it looks like a complex task juggling all those items.

However, using either conda or mamba installs 2.0.0.rc4 instead of 2.0.0.post1

Perhaps you need to change the versioning convention? 2.0.1 might be better?

Reproduction Steps

conda create -n zip38 python=3.8
conda activate zip38
conda install -c ml4t -c conda-forge

conda create -n zip38 python=3.8
conda activate zip38
conda install -y -c conda-forge mamba
mamba install -c ml4t -c conda-forge

Cheers,
Richard.

@RichardDale RichardDale changed the title Mamba/Conda install 2.0.0.rc4 instead of 2.0.0.post1 Mamba/Conda installs 2.0.0.rc4 instead of 2.0.0.post1 May 4, 2021
@RichardDale
Copy link
Author

Woarkaround to install this specific version:

mamba install -c ml4t -c conda-forge -c ranaroussi zipline-reloaded=2.0.0.post1

(note the -c ranaroussi is required because of the issue posted in: #17 )

@stefan-jansen
Copy link
Owner

Updated the instructions - see other issue.

On Windows and Ubuntu with Python 3.7/3.8, conda installs 2.0.0.post1; this may have been a matter of updating conda in the base environment?

@EcoFin
Copy link

EcoFin commented May 12, 2021

Just by the way, on an existing install of 2.0.0rc4 (Win10x64) the conda instruction didn't do anything:

conda install -c ml4t -c conda-forge -c ranaroussi zipline-reloaded

The mamba one, however, worked as expected:

mamba install -c ml4t -c conda-forge -c ranaroussi zipline-reloaded=2.0.0.post1

@stefan-jansen
Copy link
Owner

conda install unfortunately has many issues. Hence the recommendation to use mamba install instead.

@RichardDale
Copy link
Author

FYI, can confirm this resolved. Must have been an early dependency gotcha that got fixed along the way.

stefan-jansen pushed a commit that referenced this issue Jan 7, 2023
* replace deprecated abstractproperty

* removed deprecated __unicode__

* bump up pytest to >= 7.2.0

* remove unecessary object  class declaration

* cleanup metaclass declaration

* replace logbook with logging (#16)

* fix B904 flak8-bugbear warnings

* replaced logbook with logging

* replace logbook with logging (#17)

* fix B904 flak8-bugbear warnings

* change import style for logbook

* replaced with logging

* replaced logbook with logging

* changes to utils path

* wip sqlalchemy2.0

* exchange-calendar 4

* mock is part of unittest

* fix cmdline start end

* separate lint from test workflow

* enable black formatting workflow check

* separate black and lint from workflow

* drop python 3.7 support
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