Skip to content

Conversation

@hseg
Copy link

@hseg hseg commented Nov 15, 2023

Features:

  • Convert plugin from Importer to Downloader
  • Removed attempt to download from crossref first
  • Removed dependency on scihub, instead plugin scrapes the actual webpage
    using bs4
  • BibTeX metadata is pulled from https://doi.org
  • Update to use pyproject.toml instead of setup.py
  • Replace README.rst by README.md

Diff off original:

  • 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

Closes: #37

Raj Magesh Gauthaman and others added 4 commits November 15, 2023 23:45
* 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
@hseg
Copy link
Author

hseg commented Nov 15, 2023

Would've squashed the original commits to prevent some of the noise, but wanted to preserve attribution.

@hseg
Copy link
Author

hseg commented Mar 5, 2024

Any updates on this? It should be a clean merge.

@hseg
Copy link
Author

hseg commented Sep 30, 2024

@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.
@hseg hseg closed this Sep 15, 2025
@hseg hseg deleted the local branch September 15, 2025 14:05
@hseg hseg restored the local branch September 15, 2025 14:05
@hseg hseg reopened this Sep 15, 2025
@hseg hseg closed this Sep 15, 2025
@hseg hseg deleted the local branch September 15, 2025 14:08
@hseg hseg restored the local branch September 15, 2025 14:08
@hseg
Copy link
Author

hseg commented Sep 15, 2025

Missed a bug in _extract_doi that was exposed by the latest changes in papis.

And sorry for the noise here -- tried renaming the branch, but turns out Github doesn't like that. For another time.

@hseg hseg reopened this Sep 15, 2025
@hseg
Copy link
Author

hseg commented Sep 16, 2025

BTW, please add versioning tags when merging this -- I'm currently force-tagging the base commit in my packaging.

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

Successfully merging this pull request may close these issues.

1 participant