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

Move to pypdf #1488

Closed
2 of 3 tasks
MartinThoma opened this issue Dec 10, 2022 · 7 comments
Closed
2 of 3 tasks

Move to pypdf #1488

MartinThoma opened this issue Dec 10, 2022 · 7 comments
Labels
Milestone

Comments

@MartinThoma
Copy link
Member

MartinThoma commented Dec 10, 2022

For first-time users, it's confusing that there is pyPdf, PyPDF2, PyPDF3, and PyPDF4. Also non-frequent users get confused about the capitalization of PyPDF2. On StackOverflow, people regularly ask questions about pypdf which are actually about PyPDF2.

Hence we should move "back" to pypdf (all lowercase, no dashes/underscores).

Transition

I will make one last release (+ potentially bugfix-releases) for PyPDF2. That will then be identical (except for the package name) to the same version of pypdf.

So PyPDF2==3.0.0 would be almost equal to pypdf==4.0.0, so that people just need re-name the package they import from PyPDF2 to pypdf + change the package they install.

TODO

@MartinThoma MartinThoma modified the milestones: PyPDF2==3.0.0, pypdf Dec 10, 2022
@MartinThoma
Copy link
Member Author

There is a conda forge package for PyPDF2: https://anaconda.org/conda-forge/pypdf2

We should make one for pypdf as well

MartinThoma added a commit that referenced this issue Dec 22, 2022
All lowercase, no number.

See #1488
MartinThoma added a commit that referenced this issue Dec 23, 2022
All lowercase, no number.

See #1488
archlinux-github pushed a commit to archlinux/aur that referenced this issue Dec 24, 2022
See py-pdf/pypdf#1488

Legacy package python-pypdf2 has been downgraded to last legacy 2.12.1
version.
@MasterOdin
Copy link
Member

Looking at the PyPDF2 pypa page, it doesn't look like the notice at the top of the README about moving to pypdf got published there. May be worth making a 3.0.1 release with that info, and also perhaps a deprecation notice in the __init__.py itself for those that just blindly install the dependency without going to pypa?

@MartinThoma
Copy link
Member Author

@MasterOdin Good point! Like that: #1517 ?

@huonw
Copy link
Contributor

huonw commented Jan 4, 2023

I noticed that there's some inconsistent doc links that may relate to this switch:

@MartinThoma
Copy link
Member Author

Fixed! Thank you @huonw

@epicfaace
Copy link

epicfaace commented Feb 1, 2023

Hey @MartinThoma -- did you try contacting github support? They should be pretty responsive on this I believe! Unless the pypdf org has private repositories they should be able to transfer

@MartinThoma
Copy link
Member Author

I've contacted them, but they said there is nothing they can do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants