Skip to content

Commit 42b926a

Browse files
authored
Merge pull request #165 from AllenInstitute/develop
Develop -> master
2 parents c4a1ba4 + 842eb63 commit 42b926a

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/release_publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: release_publish
2+
on:
3+
# workflow_dispatch:
4+
release:
5+
types: [published]
6+
jobs:
7+
pypi_publish:
8+
name: Deploy to pypi
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repo
12+
uses: actions/checkout@v2
13+
14+
- name: Build
15+
run: python setup.py sdist bdist_wheel
16+
17+
- name: Publish to Pypi
18+
uses: pypa/gh-action-pypi-publish@release/v1
19+
with:
20+
user: __token__
21+
password: ${{ secrets.PYPI_API_TOKEN }}

renderapi/image_pyramid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from collections import MutableMapping
1+
from collections.abc import MutableMapping
22
from .errors import RenderError
33
import logging
44
from .utils import NullHandler

renderapi/transform/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from collections import Iterable
1+
from collections.abc import Iterable
22
from renderapi.errors import RenderError
33
from .leaf import AffineModel, Polynomial2DTransform
44
from .transform import TransformList, ReferenceTransform

0 commit comments

Comments
 (0)