Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin package dependencies #189

Merged
merged 2 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .pyup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ label_prs: update
assignees: sfarrens
requirements:
- requirements.txt
pin: False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whats the use of this arg? I mean i am fine having it, just wondering where it will be used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I have correctly interpreted the pyup docs, this should prevent the pyup bot from creating PRs to pin the requirements in this file. I would like to keep this feature for the documentation, hence I have this set this option independently for each file.

- develop.txt
pin: False
- docs/requirements.txt
pin: True
16 changes: 8 additions & 8 deletions develop.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
coverage==5.5
nose==1.3.7
pytest==6.2.2
pytest-cov==2.11.1
pytest-pep8==1.0.6
pytest-emoji==0.2.0
pytest-flake8==1.0.7
wemake-python-styleguide==0.15.2
coverage>=5.5
nose>=1.3.7
pytest>=6.2.2
pytest-cov>=2.11.1
pytest-pep8>=1.0.6
pytest-emoji>=0.2.0
pytest-flake8>=1.0.7
wemake-python-styleguide>=0.15.2
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jupyter==1.0.0
nbsphinx==0.8.2
nbsphinx==0.8.7
nbsphinx-link==1.3.0
numpydoc==1.1.0
sphinx==3.5.2
sphinxcontrib-bibtex==2.2.0
sphinxawesome-theme==1.19.2
sphinx==4.3.0
sphinxcontrib-bibtex==2.4.1
sphinxawesome-theme==3.2.0
8 changes: 4 additions & 4 deletions docs/source/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Required Packages
In order to use ModOpt the following packages must be installed:

* |link-to-python| ``[> 3.6]``
* |link-to-metadata| ``[==3.7.0]``
* |link-to-numpy| ``[==1.19.5]``
* |link-to-scipy| ``[==1.5.4]``
* |link-to-progressbar| ``[==3.53.1]``
* |link-to-metadata| ``[>=3.7.0]``
* |link-to-numpy| ``[>=1.19.5]``
* |link-to-scipy| ``[>=1.5.4]``
* |link-to-progressbar| ``[>=3.53.1]``

.. |link-to-python| raw:: html

Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
importlib_metadata==3.7.0
numpy==1.19.5
scipy==1.5.4
progressbar2==3.53.1
importlib_metadata>=3.7.0
numpy>=1.19.5
scipy>=1.5.4
progressbar2>=3.53.1
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
test=pytest

[metadata]
description-file = README.rst
description_file = README.rst

[darglint]
docstring_style = numpy
Expand Down