Skip to content

Commit

Permalink
Merge pull request #18 from valory-xyz/fix/dependency-check
Browse files Browse the repository at this point in the history
Fix dependency check
  • Loading branch information
angrybayblade authored Dec 5, 2023
2 parents b57057a + c4ae7ca commit 73f796d
Show file tree
Hide file tree
Showing 4 changed files with 606 additions and 116 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox,cli]==0.2.12
pip install tomte[tox,cli]==0.2.15
pip install --upgrade setuptools==60.10.0
- name: Check copyright headers
run: tomte check-copyright --author author_name
- name: License compatibility check
run: tox -e liccheck
# Skipped because the script it outdated
# - name: Check dependencies
# run: tox -e check-dependencies
- name: Check dependencies
run: tox -e check-dependencies
- name: Check doc links
run: tomte check-doc-links
- name: Check doc IPFS hashes
Expand All @@ -92,7 +91,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox,cli]==0.2.12
pip install tomte[tox,cli]==0.2.15
pip install --user --upgrade setuptools
# install Protobuf compiler
Expand Down Expand Up @@ -169,7 +168,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.12
pip install tomte[tox]==0.2.15
pip install --upgrade setuptools==60.10.0
# install Protobuf compiler
Expand Down Expand Up @@ -202,7 +201,7 @@ jobs:
- if: matrix.os == 'macos-latest'
name: Install dependencies (macos-latest)
run: |
pip install tomte[tox]==0.2.12
pip install tomte[tox]==0.2.15
brew install gcc
# brew install protobuf
# brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb
Expand Down Expand Up @@ -239,7 +238,7 @@ jobs:
choco install make -y
# to check make was installed
make --version
pip install tomte[tox]==0.2.12
pip install tomte[tox]==0.2.15
# wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-win64.zip
# unzip protoc-3.19.4-win64.zip -d protoc
# sudo mv protoc/bin/protoc /usr/local/bin/protoc
Expand Down Expand Up @@ -289,7 +288,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.12
pip install tomte[tox]==0.2.15
pip install --upgrade setuptools==60.10.0
# install Protobuf compiler
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [ "Environment :: Console", "Environment :: Web Environment", "Dev
include = "packages"

[tool.poetry.dependencies]
python = "^3.8"
python = "<4.0,>=3.8"
open-autonomy = "==0.13.8"
toml = "^0.10.2"
toml = "==0.10.2"
tomte = {version = "==0.2.15", extras = ["cli", "tests"]}
Loading

0 comments on commit 73f796d

Please sign in to comment.