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

Bump version to 2.1.0 #146

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arxiv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ def __try_parse_feed(
"Requesting page (first: %r, try: %d): %s", first_page, try_index, url
)

resp = self._session.get(url, headers={"user-agent": "arxiv.py/2.0.0"})
resp = self._session.get(url, headers={"user-agent": "arxiv.py/2.1.0"})
self._last_request_dt = datetime.now()
if resp.status_code != requests.codes.OK:
raise HTTPError(url, try_index, resp.status_code)
Expand Down
4 changes: 2 additions & 2 deletions arxiv/arxiv.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""
This submodule is only an alias included for backwards compatibility. Its use is
deprecated as of 2.0.0.
deprecated as of 2.1.0.

Use `import arxiv`.
"""
from .__init__ import * # noqa: F403
import warnings

warnings.warn("**Deprecated** after 2.0.0; use 'import arxiv' instead.")
warnings.warn("**Deprecated** after 2.1.0; use 'import arxiv' instead.")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

version = "2.0.0"
version = "2.1.0"

with open("README.md", "r") as fh:
long_description = fh.read()
Expand Down