Skip to content

Commit

Permalink
Update some dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Aug 28, 2023
1 parent 2c30494 commit ddaba5f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build_windows_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
with:
python-version: 3.8

- name: Install pip and cx-freeze
run: python -m pip install --upgrade pip pipenv setuptools cx-freeze==6.13.1
- name: Install pip
run: python -m pip install --upgrade pip setuptools wheel

- name: Install SSLyze dependencies
run: |
python -m pip install .
python -m pip uninstall sslyze -y
- name: Install sslyze dependencies
run: python -m pip install -e .

- name: Install dev dependencies including cx_freeze
run: python -m pip install -r requirements-dev.txt

- name: Build Windows executable
run: python setup.py build_exe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: python -m pip install -e .

- name: Install dev dependencies
run: python -m pip install -r dev-requirements.txt
run: python -m pip install -r requirements-dev.txt

- name: Run linters
# Only do linting once
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ To setup a development environment:
```
$ pip install --upgrade pip setuptools wheel
$ pip install -e .
$ pip install -r dev-requirements.txt
$ pip install -r requirements-dev.txt
```

The tests can then be run using:
Expand Down
6 changes: 3 additions & 3 deletions dev-requirements.txt → requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mypy==1.4.1
flake8
flake8>=5,<7
invoke>=2,<3
pytest==7.2.2
pytest>=7.4,<8
sphinx
sphinx-rtd-theme
twine>=4,<5
Expand All @@ -14,4 +14,4 @@ faker
types-pyOpenSSL

# For building the Windows executable
cx-freeze; sys.platform == 'win32'
cx-freeze==6.13.1; sys.platform == 'win32'

0 comments on commit ddaba5f

Please sign in to comment.