Skip to content

Commit

Permalink
Moban Sync
Browse files Browse the repository at this point in the history
template sync to make pipeline green.

closes coala#2987
  • Loading branch information
anshalshukla committed Jun 2, 2021
1 parent 7d21a59 commit 277dc8f
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .ci/check_unsupported.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -x
# Many bear dependencies do not install on unsupported versions
echo "" > bear-requirements.txt

pip install 'pip==9.0.1' 'setuptools==21.2.2'
pip install 'pip==9.0.3' 'setuptools==21.2.2'

python setup.py install 2>&1 | tee setup.log

Expand Down
2 changes: 1 addition & 1 deletion .ci/constants.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

New-Variable -Scope global -Name project_name -Value 'coala-bears'
New-Variable -Scope global -Name pip_version -Value '9.0.1'
New-Variable -Scope global -Name pip_version -Value '9.0.3'
New-Variable -Scope global -Name setuptools_version -Value '21.2.2'

$old_EAP = $ErrorActionPreference
Expand Down
12 changes: 6 additions & 6 deletions .moban.dt/travis-manual-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@
before_script: true
script: .ci/check_unsupported.sh

- python: 3.6
- python: 3.6.9
stage: sentinel
before_install: false
install: pip install moban
before_script: false
before_install: []
install: pip install moban~=0.5.0 gitfs2 pypifs
before_script: []
script: .ci/check_moban.sh
after_success: false
after_failure: false
after_success: []
after_failure: []
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
before_script: true
script: .ci/check_unsupported.sh

- python: 3.6
- python: 3.6.9
stage: sentinel
before_install: []
install: pip install moban~=0.5.0 gitfs2 pypifs
Expand Down
2 changes: 1 addition & 1 deletion bear-requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip_requirements:
autopep8:
version: ~=1.2
bandit:
version: ~=1.2
version: ~=1.2,<1.6.3
bashate:
version: ~=0.5.1
cmakelint:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ addopts =
--color=yes
--doctest-glob=*.rst
--doctest-modules
--doctest-ignore-import-error
--doctest-ignore-import-errors
--cov
--instafail
--profile
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ def read_requirements(filename):

if __name__ == '__main__':
pip_version = LooseVersion(pip.__version__)
if pip_version < LooseVersion('9.0.1'):
raise RuntimeError('Version of pip is less than 9.0.1. '
'Consider upgrading pip to pip~=9.0.1')
if pip_version < LooseVersion('9.0.3'):
raise RuntimeError('Version of pip is less than 9.0.3. '
'Consider upgrading pip to pip~=9.0.3')
setup(name='coala-bears',
version=VERSION,
description=DESCRIPTION,
Expand Down
13 changes: 5 additions & 8 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@
# ignore the dependency version difference and only fail when the
# bear is loaded.
colorama<0.4
# coverage 4.4.2 broke compatibility with coverage-config-reload-plugin
# and thus broke https://github.com/jayvdb/coverage_env_plugin .
# See https://github.com/jayvdb/coverage_config_reload_plugin/issues/1
coverage==4.4.1
coverage>=5.2.1
coverage-env-plugin~=0.1
coverage-config-reload-plugin~=0.2
codecov~=2.1.0
codecov~=2.0.5
moban~=0.5.0 ; python_version > '3.0'
packaging~=16.8
pytest~=4.6
pytest-cov~=2.4
pytest~=3.6.4
pytest-cov>=2.4,<2.6
pytest-env~=0.6.0
pytest-instafail~=0.3.0
pytest-mock~=1.1
pytest-profiling~=1.3.0
pytest-profiling~=1.7.0
pytest-pythonpath~=0.7.0
pytest-reorder~=0.1.0
git+https://github.com/jayvdb/pytest-reqs@coala#egg=pytest-reqs
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ passenv =
_R_CHECK_CRAN_INCOMING_
NOT_CRAN
R_PROFILE
pip_version = 9.0.1
pip_version = 9.0.3
alwayscopy = true
skipsdist = true
sitepackages={env:TOXINI_SITEPACKAGES:False}
Expand Down

0 comments on commit 277dc8f

Please sign in to comment.