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

Update from python3.10 to 3.11 #24

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

elyousfi5
Copy link
Member

Update from python3.10 to 3.11:

Steps:

  • update python-version in .github/workflows/pylint.yml
  • update python-version in .github/workflows/pytest.yml
  • update python-version in docker file

Steps to test the new version:

  • run unit tests using python 3.11 in virtual env
virtualenv -p python3.11 venv
source venv/bin/activate
pip install -r requirement.txt
pip install -r tests/test-requirement.txt

mypy agent/ tests/
black .
pylint --rcfile=.pylintrc --ignore=tests/ agent/
pylint --rcfile=.pylintrc -d C0103,W0613 tests/
pytest
  • run test after building the docker image
ostorlab agent build -f ostorlab.yaml -o dev --no-cache
ostorlab scan run --install --follow=agent/dev/all_tlds --agent agent/dev/all_tlds --agent agent/ostorlab/nuclei domain-name ostorlab.co

@elyousfi5 elyousfi5 merged commit 8dfaedb into main Nov 2, 2023
2 checks passed
@elyousfi5 elyousfi5 deleted the Update-from-python3.10-to-3.11- branch November 2, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants