Skip to content

Commit

Permalink
Merge pull request #63 from pyupio/fix/pinning-ci-images
Browse files Browse the repository at this point in the history
Pinning CI image: ubuntu-20.04
  • Loading branch information
yeisonvargasf authored Jan 16, 2023
2 parents 56073fd + 802baaa commit 47b82ba
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.6'
python-version: '3.10'

- run: pip install bandit flake8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on: [ push ]

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.5", "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,7 +26,7 @@ jobs:
deploy:
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,20 @@
zip_safe=False,
keywords='dparse',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires=">=3.5",
python_requires=">=3.6",
extras_require={
'pipenv': ["pipenv"],
'pipenv': ["pipenv<=2022.12.19"],
'conda': ["pyyaml"]
}
)
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pipenv
pipenv<=2022.12.19
pyyaml
pytest
pytest-cov
Expand Down
6 changes: 0 additions & 6 deletions tests/test_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,6 @@ def test_update_pipfile(monkeypatch):
toml = "*"
"""
import pipenv.project
monkeypatch.setattr(
pipenv.project.pipfile.Pipfile,
'find',
lambda max_depth: '/tmp/MockPipFile'
)
dep_file = parse(content=content, file_type=filetypes.pipfile)
dep = dep_file.dependencies[0]
new_content = PipfileUpdater.update(content, version="2.1", dependency=dep)
Expand Down

0 comments on commit 47b82ba

Please sign in to comment.