Skip to content

Commit

Permalink
Merge pull request #12 from NREL/pp/relax_numpy_req
Browse files Browse the repository at this point in the history
Relax Numpy requirerment
  • Loading branch information
ppinchuk authored Aug 17, 2023
2 parents f66c12f + 0249055 commit 951d089
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pull_request_tests_specific_versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pytests with specific package versions

on: pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install numpy==1.22.0
pip install pandas==2.0.0
python -m pip install .[test]
- name: Run Pytest
run: |
python -m pytest -v --disable-warnings
2 changes: 1 addition & 1 deletion gaps/cli/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
on the command line. Once you set up a batch config file, you can execute
it using::
$ {name} status -c config_batch.json
$ {name} batch -c config_batch.json
The general structure of the {name} CLI is given below.
"""
Expand Down
2 changes: 1 addition & 1 deletion gaps/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""GAPs Version Number. """

__version__ = "0.4.0"
__version__ = "0.4.1"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
click>=8.1.3
colorama>=0.4.6
NREL-rex>=0.2.80
numpy>=1.24.2
numpy>=1.22.0
numpydoc>=1.5.0
pandas>=2.0.0
psutil>=5.9.2
Expand Down

0 comments on commit 951d089

Please sign in to comment.