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 3, 2021
1 parent 7d21a59 commit 3f5346d
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 28 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
2 changes: 1 addition & 1 deletion .moban.dt/bears-test-requirements.txt.jj2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% include 'test-requirements.txt.jj2' %}
pbr!=2.1.0,>=2.0.0
pytest-error-for-skips
git+https://github.com/krkd/pytest-cov-threshold#egg=pytest-cov-threshold ; python_version > '3.4'
git+https://github.com/krkd/pytest-cov-threshold ; python_version > '3.4'
twine~=1.7.4
tox~=3.12.0
tox-travis
Expand Down
3 changes: 2 additions & 1 deletion .moban.dt/travis-before-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ before_install:
export PATH="$HOME/.pyenv/bin:$PATH";
fi
- hash -r && pyenv versions --bare && python --version
- pip install pip==9.0.3
- if [ "${TRAVIS_PYTHON_VERSION/3.4/}" != "$TRAVIS_PYTHON_VERSION" ]; then
pip install pip==9.0.3 setuptools==21.2.2;
pip install setuptools==21.2.2;
fi

- if [ -f ".ci/deps.$TRAVIS_LANGUAGE.sh" ]; then
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: []
5 changes: 3 additions & 2 deletions .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 Expand Up @@ -600,8 +600,9 @@ before_install:
export PATH="$HOME/.pyenv/bin:$PATH";
fi
- hash -r && pyenv versions --bare && python --version
- pip install pip==9.0.3
- if [ "${TRAVIS_PYTHON_VERSION/3.4/}" != "$TRAVIS_PYTHON_VERSION" ]; then
pip install pip==9.0.3 setuptools==21.2.2;
pip install setuptools==21.2.2;
fi

- if [ -f ".ci/deps.$TRAVIS_LANGUAGE.sh" ]; then
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
15 changes: 6 additions & 9 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 All @@ -30,7 +27,7 @@ six>=1.11.0
wheel~=0.29
pbr!=2.1.0,>=2.0.0
pytest-error-for-skips
git+https://github.com/krkd/pytest-cov-threshold#egg=pytest-cov-threshold ; python_version > '3.4'
git+https://github.com/krkd/pytest-cov-threshold ; python_version > '3.4'
twine~=1.7.4
tox~=3.12.0
tox-travis
Expand Down
4 changes: 2 additions & 2 deletions 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 All @@ -92,7 +92,7 @@ deps =
java{7,8}-!pip: guess-language-spirit~=0.5.2
-rtest-requirements.txt
# pytest-cov-threshold is incompatible with py34
!py34: git+https://github.com/krkd/pytest-cov-threshold
!py34: git+https://github.com/krkd/pytest-cov-threshold#egg=pytest-cov-threshold
noskip: pytest-error-for-skips
setenv =
LINTR_COMMENT_BOT=false
Expand Down

0 comments on commit 3f5346d

Please sign in to comment.