From 6ccec96f0e4ef0fe981c6d98ac90786561f0b4d2 Mon Sep 17 00:00:00 2001 From: Benedikt Burger <67148916+BenediktBurger@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:34:37 +0100 Subject: [PATCH] Make release. --- .github/workflows/tests.yml | 43 +++++-------------------------------- CHANGELOG.md | 7 ++++++ README.md | 11 ++++++++++ environment.yml | 1 + pyproject.toml | 1 + 5 files changed, 25 insertions(+), 38 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c865af9..5ebb88b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install general requirements @@ -51,7 +51,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install requirements @@ -62,17 +62,6 @@ jobs: cache-downloads: false - name: Python version run: python --version - - name: Checkout pyleco - uses: actions/checkout@v3 - with: - repository: pymeasure/pyleco - path: './requirements' # protected name, ignored by setuptools - - name: Install Pyleco - # If the pytest problem matcher stops working because of bad paths, do an editable install - run: | - cd requirements - pip install .[dev] - cd .. - name: Install pyleco extras run: pip install -e .[gui,dev] # editable for covtest - name: Test for Coverage @@ -96,7 +85,7 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install requirements @@ -107,21 +96,10 @@ jobs: cache-downloads: false - name: Python version run: python --version - - name: Checkout pyleco - uses: actions/checkout@v3 - with: - repository: pymeasure/pyleco - path: './requirements' # protected name, ignored by setuptools - - name: Install Pyleco - # If the pytest problem matcher stops working because of bad paths, do an editable install - run: | - cd requirements - pip install .[dev] - cd .. - name: Install mypy run: pip install mypy - name: Run mypy - run: mypy . --exclude requirements + run: mypy . test: name: Python ${{ matrix.python-version }}, ${{ matrix.os }} @@ -135,7 +113,7 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install requirements @@ -147,17 +125,6 @@ jobs: cache-downloads: false - name: Python version run: python --version - - name: Checkout pyleco - uses: actions/checkout@v3 - with: - repository: pymeasure/pyleco - path: './requirements' # protected name, ignored by setuptools - - name: Install Pyleco - # If the pytest problem matcher stops working because of bad paths, do an editable install - run: | - cd requirements - pip install .[dev] - cd .. - name: Install pyleco extras run: pip install -e .[gui,dev] # editable for covtest - name: Run pytest under Linux with xvfb diff --git a/CHANGELOG.md b/CHANGELOG.md index a0cf709..8a3f920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,8 @@ # CHANGELOG + +## [0.1.0] 2024-02-02 + +_Initial release_ + +[unreleased]: https://github.com/BenediktBurger/pyleco-extras/compare/v0.1.0...HEAD +[0.1.0]: https://github.com/BenediktBurger/pyleco-extras/releases/tag/v0.1.0 diff --git a/README.md b/README.md index c114f3f..40504ac 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ This module offers additional actors, directors, etc. It also offers some GUI utils for easier control of the PyLECO Components. [![codecov](https://codecov.io/gh/BenediktBurger/pyleco-extras/graph/badge.svg?token=BHDA9OKK7C)](https://codecov.io/gh/BenediktBurger/pyleco-extras) +[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org) + + +## Installation + +1. Clone this repository, +2. change your working directory to this file, +3. Install with pip editable: `pip install -e .` + +For updates just pull the main branch. + ## GUI Tools diff --git a/environment.yml b/environment.yml index f2e63ad..f52ffe2 100644 --- a/environment.yml +++ b/environment.yml @@ -9,6 +9,7 @@ dependencies: - jsonrpc2-pyclient==4.3.0 - openrpc==8.1.0 - uuid7==0.1.0 + - pyleco==0.1.0 # Development dependencies below - pytest=7.2.0 - pytest-cov=4.1.0 diff --git a/pyproject.toml b/pyproject.toml index 619b9e4..12c34af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ requires-python = ">=3.9" dependencies = [ "pyleco", "pint", + "numpy", ] [project.optional-dependencies]