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

Please release 0.13.6 without explicit upper bound on scipy #8543

Closed
tschm opened this issue Nov 30, 2022 · 15 comments
Closed

Please release 0.13.6 without explicit upper bound on scipy #8543

tschm opened this issue Nov 30, 2022 · 15 comments
Milestone

Comments

@tschm
Copy link

tschm commented Nov 30, 2022

When installing scipy and statsmodels (0.13.5) the installer would choose scipy 1.9.3 somewhat contradicting the weak inequality < 1.9 you seem to impose somewhere. poetry (for poetry 1.2.2) is breaking then at poetry export. I see that in your live version you dropped the upper bound already. Maybe you could just release it on pypi. Many thanks

@bashtage
Copy link
Member

I think 0.14 should be within a couple of months, so a 0.13.6 is unlikely.

@Lucasje19
Copy link

I too face this combined issue where statsmodels states a dependency mismatch, and where poetry fails to export its requirements. Since a deployed application relies on this mechanism, we are looking for a workaround. A fixed and released version would be so welcome to mitigate the need of a workaround.

Thanks so much!

@JohnGiorgi
Copy link

JohnGiorgi commented Dec 22, 2022

Also facing this exact issue, which is preventing us from exporting a requirements file which we need to install on a certain machine. A 0.13.6 release or suggested work around would be much appreciated!


Update: The following worked for me:

  1. Install statsmodels from git (main branch) by adding the following to your pyproject.toml
statsmodels = {git = "https://github.com/statsmodels/statsmodels.git", rev = "main"}
  1. Update your lock file with poetry update
  2. Try exporting the requirements.txt file again with poetry export

@picciama
Copy link

picciama commented Jan 20, 2023

Adding to @JohnGiorgi 's comment (#8543 (comment)) above:
In case poetry add git+https://github.com/statsmodels/statsmodels.git#main fails for you, (which for me is the case with poetry==1.3.2) make sure you have libopenblas-dev and liblapack-dev installed for compiling (on a debian based system).

@leebs778
Copy link

leebs778 commented Mar 14, 2023

hi! the workaround to install statsmodels from github works but it's adding a significant amount of time to various projects' build steps. Are there any estimates on how soon 0.13.6 or 0.14 might be released?

@aeturrell
Copy link
Contributor

I'm also having problems caused by this, would be very appreciative of a fix!

@injuryholmes
Copy link

same problems. Would be grateful if there is a fix or new release.

@nathanvprice
Copy link

Same problems. +1 for a fix!

@simonprovost
Copy link

Same problems. +1 for a fix

@oakstreetrec
Copy link

Same problem

@bashtage
Copy link
Member

@josef-pkt Do you think 0.14 is ready?

@josef-pkt
Copy link
Member

I have one open PR with small fixes that showed up recently.
Otherwise I have been looking mainly at things for 0.15 and wasn't working on 0.14 anymore.

It would be great if you can release 0.14 or rc1 soon.
I will merge the remaining PR tomorrow.

@bashtage
Copy link
Member

Can someone who uses poetry check that the 0.14.0rc0 release (which should be on PyPI shortly) fixes this issue?

@nathanvprice
Copy link

nathanvprice commented Apr 26, 2023

Works for me!

  • Added statsmodels = "0.14.0rc0" to dependencies in pyproject.toml
  • poetry update
  • poetry export -o requirements.txt -f requirements.txt --without-hashes
  • statsmodels==0.14.0rc0 ; python_version >= "3.8" and python_version < "3.9" inserted into requirements.txt

Thank you @bashtage and others!

@bashtage
Copy link
Member

Thanks. I'll close this as fixed.

@bashtage bashtage added this to the 0.14 milestone May 5, 2023
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