Skip to content

Commit

Permalink
Merge pull request #6 from eclipse-volttron/main
Browse files Browse the repository at this point in the history
Sync develop from main
  • Loading branch information
craig8 authored Nov 29, 2022
2 parents 933200e + 2c72c9d commit 7e24405
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 25 deletions.
20 changes: 0 additions & 20 deletions .copier-answers.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/dispatch-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# Documentation located
# https://github.com/marketplace/actions/publish-python-poetry-package
name: Dispatch to PyPi

on:
workflow_dispatch:

defaults:
run:
shell: bash

env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

jobs:

publish_to_pypi:

runs-on: ubuntu-22.04

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

- name: Checkout code
uses: actions/checkout@v2

- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
# These are only needed when using test.pypi
#repository_name: testpypi
#repository_url: https://test.pypi.org/legacy/
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: "yes"
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "volttron-lib-base-historian"
version = "0.1.0"
description = "None"
version = "0.2.0-rc"
description = "A base library with extension points for using with the VOLTTRON platform."
authors = ["VOLTTRON Team <[email protected]>"]
license = "Apache License 2.0"
readme = "README.md"
Expand All @@ -12,10 +12,9 @@ packages = [ { include = "historian", from = "src" }, { include = "historian", f

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
volttron = ">=10.0.1a43,<11.0"
volttron = ">=10.0.2rc0,<11.0"

ply = "^3.11"
volttron-testing="^0.3.1a16"

[tool.poetry.group.dev.dependencies]
# formatting, quality, tests
Expand All @@ -31,7 +30,7 @@ coverage = "^6.3.2"
pytest-cov = "^3.0.0"
Sphinx = "^4.5.0"
sphinx-rtd-theme = "^1.0.0"
volttron-testing = "^0.3.1a3"
volttron-testing = "^0.4.0rc0"

[tool.yapfignore]
ignore_patterns = [
Expand Down

0 comments on commit 7e24405

Please sign in to comment.