Skip to content

Commit

Permalink
adding requirements and pinning version
Browse files Browse the repository at this point in the history
  • Loading branch information
mfixstsci committed Nov 16, 2021
1 parent 28ec18e commit f83c98f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install Package
run: |
python setup.py install
- name: Run Tests
run: |
pytest
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
astropy==4.3.1
lxml==4.6.4
matplotlib==3.4.3
numpy==1.21.4
numpydoc==1.1.0
openpyxl==3.0.9
requests==2.26.0
scipy==1.7.2
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ def run_tests(self):
sys.exit(errno)

install_requires = [
'astropy>=1.2',
'numpy>=1.13',
'numpydoc',
'matplotlib>=3.0.0',
'lxml>=3.6.4',
'scipy>=0.17',
'openpyxl>=2.6.0',
'requests>=2.21.0',
'astropy==4.3.1',
'lxml==4.6.4',
'matplotlib==3.4.3',
'numpy==1.21.4',
'numpydoc==1.1.0',
'openpyxl==3.0.9',
'requests==2.26.0',
'scipy==1.7.2',
]

# Patch because MacOS Mojave causes matplotlib to fail without pyqt5 - will remove line if this bug is patched
Expand Down

0 comments on commit f83c98f

Please sign in to comment.