-
Notifications
You must be signed in to change notification settings - Fork 8
[Cleaned up #37] update Papis Sci-Hub plugin #62
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
base: master
Are you sure you want to change the base?
Conversation
* Restore static versions (at least until repo starts tagging versions)
* Add (commented-out) [tool.setuptools_scm] section to silence
warnings once repo uses dynamic versioning
* Restore unnecessary edits
* Restore liability warning
* Restore version bounds (guessed for bs4)
* Restore classifiers, keywords, authors
* Relax python version bounds
* Explicitly use standard GPL3 text
* Make pylint-clean for python >=3.6
* Convert `| None` to uses of `Optional[]` to silence warnings on
Pythons older than 3.10
* Use more specific exceptions
* Clean up early-exit logic, drop useless exception catches
* Standardize names
* Misc improvements
* Fix `download_bibtex()` type
* Add sci-hub mirrors
|
Would've squashed the original commits to prevent some of the noise, but wanted to preserve attribution. |
|
Any updates on this? It should be a clean merge. |
|
@alejandrogallo Mind merging this? At the moment, the AUR package is building off my branch, which is not ideal. |
The tests in the latest papis commits exposed a missing branch in these conditionals, leading to an UnboundLocalError.
|
Missed a bug in And sorry for the noise here -- tried renaming the branch, but turns out Github doesn't like that. For another time. |
|
BTW, please add versioning tags when merging this -- I'm currently force-tagging the base commit in my packaging. |
Features:
ImportertoDownloaderscihub, instead plugin scrapes the actual webpageusing
bs4pyproject.tomlinstead ofsetup.pyREADME.rstbyREADME.mdDiff off original:
warnings once repo uses dynamic versioning
| Noneto uses ofOptional[]to silence warnings onPythons older than 3.10
download_bibtex()typeCloses: #37