Skip to content

Commit

Permalink
release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ratoaq2 committed Jun 23, 2024
1 parent d48576b commit 7729fea
Show file tree
Hide file tree
Showing 7 changed files with 202 additions and 212 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,30 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ratoaq2/plexy


- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install poetry
uses: snok/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
python-version: [3.9, '3.10', 3.11, 3.12]
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion plexy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__short_version__ = '.'.join(__version__.split('.')[:2])
__author__ = metadata.metadata(__package__)['author']
__license__ = metadata.metadata(__package__)['license']
__url__ = metadata.metadata(__package__)['home_page']
__url__ = metadata.metadata(__package__).get('home_page', 'https://github.com/ratoaq2/plexy')

del metadata

Expand Down
2 changes: 1 addition & 1 deletion plexy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(self, debug: bool, iterable: typing.Iterable[T], **kwargs):
self.iterable = iterable
self.progressbar = click.progressbar(iterable, **kwargs)

def __iter__(self) -> typing.Iterator[T]:
def __iter__(self):
if not self.debug:
return self.progressbar.__iter__()

Expand Down
379 changes: 181 additions & 198 deletions poetry.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "plexy"
version = "0.1.3"
version = "0.1.4"
description = "Your Plex, your way"
authors = [
"Rato"
Expand Down Expand Up @@ -34,32 +34,32 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Video",
]

[tool.poetry.dependencies]
python = "^3.8.1"
python = "^3.9.0"
PlexAPI = "^4.12.1"
click = "^8.1.3"
babelfish = "^0.6.0"
trakit = "^0.2.1"
trakit = "^0.2.2"
appdirs = "^1.4.4"
pyyaml = {version = "^6.0", optional = true}

[tool.poetry.dev-dependencies]

[tool.poetry.group.dev.dependencies]
flake8 = ">=6,<8"
flake8 = "7.1.0"
flake8-import-order = "^0.18.2"
mypy = ">=0.991,<1.9"
mypy = "^1.1.1"
types-appdirs = "^1.4.3.1"
types-pyyaml = "^6.0.12.2"
pytest = ">=7.2.1,<9.0.0"
pytest = "8.2.2"
mockito = "^1.4.0"

[build-system]
Expand Down

0 comments on commit 7729fea

Please sign in to comment.