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

Upgrade pdf2image from 1.12.0 to 1.12.1 #1780

Closed
Tlazypanda opened this issue Mar 3, 2020 · 7 comments
Closed

Upgrade pdf2image from 1.12.0 to 1.12.1 #1780

Tlazypanda opened this issue Mar 3, 2020 · 7 comments

Comments

@Tlazypanda
Copy link
Contributor

Summary

While setting up the project, the requirement pdf2image 1.12.0 version is not available as a distribution.On checking out their package link https://pypi.org/project/pdf2image/#history found out that the correct version should be 1.12.1.

Category

BUG

Screenshots

image

@Tlazypanda
Copy link
Contributor Author

@kollivier @indirectlylit @benjaoming can you kindly approve this issue? Thanks ✌️

@benjaoming
Copy link
Contributor

Hi @Tlazypanda - the version is already set to 1.12.1: https://github.com/learningequality/studio/blob/develop/requirements.txt#L96

What instruction were you following that gave you 1.12.0?

@Tlazypanda
Copy link
Contributor Author

@benjaoming I followed the instructions given in the readme -

Ensure your environment matches the one specified in Pipfile.lock

pipenv sync --dev

@benjaoming
Copy link
Contributor

Oh right - how on earth did that happen. Maybe @kollivier knows?

There is a non-existent PyPi release in Pipenv.lock

https://github.com/learningequality/studio/blob/develop/Pipfile.lock#L893

It was added by dependabot in this really weird update

2f3c7aa

Bots + Pipenv.lock = 😖

@kollivier
Copy link
Contributor

I believe that somehow the pypi maintainer for pdf2image actually removed the 1.12.0 release and replaced it with 1.12.1, perhaps because there was a serious issue in the release, but for projects that pinned their dependencies when 1.12.0 still existed, this problem will happen.

We are in the process of switching from pipenv to pip-tools, and one of the reasons is that pipenv updates all non-pinned dependencies whenever you want to update or add a dependency, even when you ask it not to. I have tested that pip-tools works, but now I need to finish up the docs and Pipfile and Pipfile.lock removal, which I'm hoping to take care of this week.

In the meantime, things should work on develop branch if you do a pip install -r requirements.txt and pip install -r requirements-dev.txt instead of using pipenv.

@benjaoming
Copy link
Contributor

benjaoming commented Mar 4, 2020

I was going to say that you cannot delete packages on PyPi, but ay... that's actually possible. So definitely the right theory.

Bots + Pipenv.lock + package deletion = 😖

@rtibbles
Copy link
Member

rtibbles commented Dec 9, 2020

This issue is stale as it's been removed as a dependency.

@rtibbles rtibbles closed this as completed Dec 9, 2020
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

5 participants