diff --git a/arxiv/__init__.py b/arxiv/__init__.py index 7a7d9c5..def8664 100644 --- a/arxiv/__init__.py +++ b/arxiv/__init__.py @@ -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) diff --git a/arxiv/arxiv.py b/arxiv/arxiv.py index edac149..91fcdd8 100644 --- a/arxiv/arxiv.py +++ b/arxiv/arxiv.py @@ -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.") diff --git a/setup.py b/setup.py index 53edd36..4f701b5 100644 --- a/setup.py +++ b/setup.py @@ -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()