Skip to content

Commit

Permalink
Merge pull request #44 from NREL/gb/py_version
Browse files Browse the repository at this point in the history
updated python requirement >= 3.8
  • Loading branch information
grantbuster authored Nov 10, 2023
2 parents 17dde4a + 07b576e commit 42c914a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
PYTHON: '3.9'
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pull_request_tests_tf_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10']
include:
- os: ubuntu-latest
python-version: 3.11
- os: ubuntu-latest
python-version: 3.10
- os: ubuntu-latest
python-version: 3.9
- os: ubuntu-latest
python-version: 3.8
- os: ubuntu-latest
python-version: 3.7
steps:
- uses: actions/checkout@v2
with:
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ phygnn

.. image:: https://zenodo.org/badge/276492167.svg
:target: https://zenodo.org/badge/latestdoi/276492167

.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/NREL/PHYGNN/HEAD


**phygnn** (fi-geon | ˈfi-jən) noun.

Expand All @@ -53,8 +53,8 @@ here. <https://nrel.github.io/phygnn/_autosummary/phygnn.phygnn.PhysicsGuidedNeu

For example notebooks using the phygnn architecture for regression,
classification, and even GAN applications, see `the example notebooks here
<https://github.com/NREL/phygnn/tree/master/examples>`_.
You can also run the examples using a free cloud-hosted jupyter instance via
<https://github.com/NREL/phygnn/tree/master/examples>`_.
You can also run the examples using a free cloud-hosted jupyter instance via
`Binder <https://mybinder.org/v2/gh/NREL/PHYGNN/HEAD>`_.

At the National Renewable Energy Lab (NREL), we are using the phygnn framework
Expand Down Expand Up @@ -101,9 +101,9 @@ Installation
Simple Install
--------------

1. Use conda (anaconda or miniconda with python 3.7 or 3.8) to create a phygnn environment: ``conda create --name phygnn python=3.7``
1. Use conda (anaconda or miniconda) to create a phygnn environment: ``conda create --name phygnn python=3.9``

i. Note that phygnn is tested with python 3.7 and 3.8 via pip install. Users have reported issues installing phygnn on python 3.8 using conda install.
i. Note that phygnn is tested with python >= 3.8 via pip install. Users have reported issues installing phygnn using conda install.

2. Activate your new conda env: ``conda activate phygnn``
3. Install with pip or conda:
Expand All @@ -115,7 +115,7 @@ Simple Install
Developer Install
-----------------

1. Use conda (anaconda or miniconda with python 3.7 or 3.8) to create a phygnn environment: ``conda create --name phygnn python=3.7``
1. Use conda (anaconda or miniconda) to create a phygnn environment: ``conda create --name phygnn python=3.9``
2. Activate your new conda env: ``conda activate phygnn``
3. Clone the phygnn repository: ``git clone [email protected]:NREL/phygnn.git``
4. Navigate to the cloned repo and checkout your desired branch: ``git checkout main`` or ``git checkout <branch>``
Expand Down
2 changes: 1 addition & 1 deletion phygnn/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
"""Physics Guided Neural Network version."""

__version__ = '0.0.24'
__version__ = '0.0.25'
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ def run(self):
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
test_suite="tests",
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=install_requires,
extras_require={
"dev": ["flake8", "pre-commit", "pylint"],
Expand Down

0 comments on commit 42c914a

Please sign in to comment.