Skip to content

Commit

Permalink
Drop Python 3.7, support 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
chezou committed May 30, 2023
1 parent 8a6c986 commit 58789f2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7','3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: []

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Usage
# ['td.apikey', 'td.apiserver', "test"]
client.delete_secrets(projects[0], ["test", "td.apiserver"])
Uplaod Project from GitHub
Upload Project from GitHub
^^^^^^^^^^^^^^^^^^^^^^^^^^

Before executing example code, you have to install git-python
Before executing the example code, you have to install git-python

.. code-block:: shell
Expand Down Expand Up @@ -100,14 +100,14 @@ If you want to open Treasure Workflow console on your browser, you can get the w
workflows = client.project_workflows(project)
workflows = list(filter(lambda w: w.name != "test", workflows))
if workflows:
print(f"Project created! Open {CONSOLE_URL[site]}/{workflows[0].id}/info on your browser and clieck 'New Run' button.")
print(f"Project created! Open {CONSOLE_URL[site]}/{workflows[0].id}/info on your browser and click 'New Run' button.")
else:
print("Project creation failed.")
Start workflow session
^^^^^^^^^^^^^^^^^^^^^^

You can start workflow session by using ``Client.start_attempt``.
You can start a workflow session by using ``Client.start_attempt``.

.. code-block:: python
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ classifiers =
License :: OSI Approved :: Apache Software License
Topic :: Database
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

[options]
packages = find:
python_requires = >= 3.7
python_requires = >= 3.8
install_requires =
requests
setup_requires =
Expand Down

0 comments on commit 58789f2

Please sign in to comment.