Skip to content
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 .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
max-parallel: 1 # Hinet doesn't allow parallel data request
fail-fast: false
matrix:
python-version: ["3.10", "3.14"]
python-version: ["3.11", "3.14"]
os: [macos-latest, ubuntu-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions HinetPy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def __str__(self):
if key == "password":
value = "*" * len(value)
string += f"{key:22s}: {value}\n"
except AttributeError: # noqa: PERF203
except AttributeError:
continue
return string

Expand Down Expand Up @@ -721,7 +721,7 @@ def _download_event_waveform(self, id): # noqa: A002
with zipfile.ZipFile(ft.name) as fz:
fz.extractall(path=outdir)
return outdir
except Exception: # noqa: BLE001, S112, PERF203
except Exception: # noqa: BLE001, S112
continue
logger.error("Data download fails after %d retries.", self.retries)
return None
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To use HinetPy, you need:

- Python \>= 3.10
- Python \>= 3.11
- win32tools provided by NIED Hi-net (see below for install instructions)
- a Hi-net account (register on Hi-net website to get your user name and password)

Expand Down
2 changes: 1 addition & 1 deletion docs/locale/zh_CN/LC_MESSAGES/installation.po
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ msgid "To use HinetPy, you need:"
msgstr "为了使用 HinetPy,你需要:"

#: ../../installation.md:7
msgid "Python \\>= 3.10"
msgid "Python \\>= 3.11"
msgstr ""

#: ../../installation.md:8
Expand Down
4 changes: 2 additions & 2 deletions docs/locale/zh_CN/LC_MESSAGES/tutorial/get-started.po
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ msgstr "启动Python"
#: ../../tutorial/get-started.md:12
msgid ""
"Run `python` (or `ipython` if you have it), and make sure you're using "
"Python 3.10 or above:"
"Python 3.11 or above:"
msgstr ""
"在终端中运行 `python` (或 `ipython` ),并确保你所使用的Python版本大于等于"
"3.10:"
"3.11:"

#: ../../tutorial/get-started.md:22
msgid "Create a Client"
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Now let's get started.

## Start python

Run `python` (or `ipython` if you have it), and make sure you're using Python
3.10 or above:
Run `python` (or `ipython` if you have it), and make sure you're using Python 3.11 or
above:

```console
$ python
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python>=3.10
- python>=3.11
- pip
- setuptools>=77
- setuptools_scm>=6.2
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "HinetPy"
description = "A Python package for accessing and processing NIED Hi-net seismic data"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [{name = "Dongdong Tian", email = "[email protected]"}]
license = "MIT"
license-files = ["LICENSE"]
Expand All @@ -18,7 +18,6 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down