Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Release 0.18.0 #210

Merged
merged 44 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
389b902
Merge pull request #197 from globus/production
sirosen Jul 24, 2023
3e5fb6c
Update pre-commit hook versions (no file changes needed)
kurtmckee Aug 16, 2023
3e73c07
Require Python 3.8 and close multiple security advisories
kurtmckee Aug 16, 2023
32ccd5f
Reduce the keyword list down to 5 entries, max
kurtmckee Aug 16, 2023
8a433a7
Run `make docs`
kurtmckee Aug 16, 2023
80e97f1
Add and run pyupgrade as a pre-commit hook (Python 3.8+ syntax)
kurtmckee Aug 16, 2023
f4352fb
Update Python versions used in CI
kurtmckee Aug 16, 2023
c52c744
Merge pull request #198 from globus/update-dependencies
kurtmckee Aug 16, 2023
c0089ed
Add a deprecation notice to the top of every HTML page
kurtmckee Aug 16, 2023
53260ea
Fix linting in CI
kurtmckee Aug 16, 2023
0093762
Merge pull request #200 from globus/fix-linting-in-ci
kurtmckee Aug 16, 2023
1faf578
Merge pull request #199 from globus/add-deprecation-notices-sc-26317
kurtmckee Aug 16, 2023
6bed4da
First version of migration doc
sirosen Aug 15, 2023
2153105
Expand migration doc to cover SDK method mapping
sirosen Aug 16, 2023
053b11e
Add migration documentation on yaml2json
sirosen Aug 23, 2023
4c1028f
Add detailed CLI migration guidance
sirosen Aug 23, 2023
a201756
Add dedicated doc section on create_flows_client
sirosen Aug 23, 2023
6bd0b42
Apply suggestions from code review
sirosen Aug 31, 2023
d179e73
Various minor changes to the migration guide
sirosen Aug 31, 2023
a636c6a
Update docs/source/migration.rst
sirosen Aug 31, 2023
6605f4f
Title Case Pythons
sirosen Aug 31, 2023
4b24444
Merge pull request #201 from sirosen/migration-doc
sirosen Sep 1, 2023
5ced979
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
a7a3ca3
Merge pull request #202 from globus/dependabot/github_actions/actions…
kurtmckee Sep 5, 2023
8af30ec
Update the black pre-commit hook URL
kurtmckee Sep 11, 2023
45cce52
Merge pull request #203 from globus/update-black-pre-commit-url
kurtmckee Sep 11, 2023
2456b04
Add a caption to migration-doc toctree
sirosen Sep 25, 2023
bdc538e
Merge pull request #204 from sirosen/migration-doc-nav
sirosen Sep 25, 2023
18f676e
Convert or delete YAML flow examples
ada-globus Nov 15, 2023
5459b52
Merge pull request #205 from globus/an/convert-yaml-examples-to-json
ada-globus Nov 15, 2023
399d457
Bump actions/setup-python from 4 to 5
dependabot[bot] Dec 11, 2023
9005f3c
Merge pull request #206 from globus/dependabot/github_actions/actions…
kurtmckee Dec 12, 2023
ffad225
Bump certifi from 2023.7.22 to 2024.7.4
dependabot[bot] Jul 8, 2024
1786fff
Merge pull request #207 from globus/dependabot/pip/certifi-2024.7.4
kurtmckee Jul 8, 2024
3c31963
Bump setuptools from 68.1.0 to 70.0.0
dependabot[bot] Jul 15, 2024
48c2cd6
Merge pull request #208 from globus/dependabot/pip/setuptools-70.0.0
kurtmckee Jul 15, 2024
eecbf37
Many updates
kurtmckee Dec 4, 2024
36ca4b4
Announce EOL
kurtmckee Dec 4, 2024
3d0793a
Add a changelog fragment
kurtmckee Dec 4, 2024
9e8b444
Add a ReadTheDocs config so the EOL announcement publishes
kurtmckee Dec 4, 2024
0e3bac8
Update two "deprecation" notices to announce "EOL"
kurtmckee Dec 4, 2024
1fd58b4
Update the copyrights
kurtmckee Dec 4, 2024
862fc7e
Merge pull request #209 from globus/updates
kurtmckee Dec 4, 2024
8a8c0ff
Update project metadata
kurtmckee Dec 4, 2024
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
30 changes: 14 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,22 @@ jobs:
matrix:
os: [ubuntu-latest]
os-name: [Ubuntu]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
# we do not want a large number of windows and macos builds, so
# enumerate them explicitly
include:
- os: windows-latest
os-name: Windows
python-version: 3.9
python-version: "3.13"
- os: macos-latest
os-name: MacOS
python-version: 3.9
- os: ubuntu-20.04
os-name: Ubuntu 20.04
python-version: 3.6
python-version: "3.13"

name: "Test py${{ matrix.python-version }} on ${{ matrix.os-name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -U pip setuptools tox
Expand All @@ -34,8 +32,8 @@ jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python -m pip install -U pip setuptools tox
Expand All @@ -44,18 +42,18 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python -m pip install -U pip setuptools tox
- run: python -m tox -e flake8,isort,black
- run: python -m pip install pre-commit
- run: pre-commit run --all

test-doc-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python -m pip install -U pip setuptools tox
Expand Down
33 changes: 14 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,37 +11,32 @@ repos:
)$
- id: check-added-large-files

- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args:
- "--py39-plus"

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.22.0
rev: 0.30.0
hooks:
- id: check-github-workflows
- id: check-dependabot

- repo: https://github.com/psf/black
rev: 23.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black-jupyter
- id: black

# Allow tox to run black strictly as a linter.
- id: black
alias: black-check
stages: [manual]
args: [--check]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

# Allow tox to run isort strictly as a linter.
- id: isort
alias: isort-check
stages: [manual]
args: [--check]

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: ["flake8-bugbear==23.3.12"]
additional_dependencies: ["flake8-bugbear==23.7.10"]
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2

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

python:
install:
- requirements: "docs/requirements.txt"

sphinx:
configuration: "docs/source/conf.py"
fail_on_warning: true
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ Unreleased changes are documented in files in the `changelog.d`_ directory.

.. scriv-insert-here

.. _changelog-0.18.0:

0.18.0 — 2024-12-04
===================

End of life
-----------

* The Globus Automate Client is no longer supported.

Python support
--------------

* Require Python 3.9 or higher.

.. _changelog-0.17.1:

0.17.1 — 2023-07-24
Expand Down
25 changes: 5 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# export this so that poetry finds itself in the venv and can
# run things from there
VIRTUAL_ENV = .venv
PYTHON_VERSION ?= python3.6
PYTHON_VERSION ?= python3.8
POETRY ?= poetry

.PHONY: all test build clean help lint develop format typecheck lint_all api-docs docs

# settings from .pytest.cfg file
PYTEST_OPTS?=-c .pytest.cfg

all: autoformat test docs
all: test docs

help:
@echo "These are our make targets and what they do."
Expand All @@ -26,18 +26,13 @@ help:

.PHONY: install
install:
$(POETRY) install --no-dev --remove-untracked
$(POETRY) install --no-dev --sync

develop:
$(POETRY) install --remove-untracked
$(POETRY) install --sync

lint: develop
$(POETRY) run tox -e isort,black,flake8,mypy,docs

.PHONY: autoformat
autoformat: develop
$(POETRY) run isort .
$(POETRY) run black .
$(POETRY) run tox -e mypy,docs

typecheck: develop
$(POETRY) run tox -e mypy
Expand Down Expand Up @@ -77,17 +72,7 @@ clean:


docs: develop
# ----
# TEMPORARY HACK: typer-cli depends on an old version of typer.
# We install it temporarily to support generating the CLI docs.
# Remove the pip call when typer-cli can be reinstated as a dev dependency.
poetry run pip install --no-deps typer-cli
# ----
poetry run typer globus_automate_client/cli/main.py utils docs --name "globus-automate" --output cli_docs.md;
pandoc --from markdown --to rst -o docs/source/cli_docs.rst cli_docs.md;
rm cli_docs.md;
poetry run make --directory=docs html
# ----
# Remove the pip call when typer-cli can be reinstated as a dev dependency.
poetry run pip uninstall --yes typer-cli
# ----
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. warning::

The code in this repository is no longer supported.


Globus Automate Client
======================

Expand Down
Loading
Loading