Skip to content

Commit

Permalink
Bump version to 2.1.0 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasschwab authored Oct 19, 2023
1 parent 7f60b51 commit 39b13ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit 39b13ca

Please sign in to comment.