Skip to content

Commit

Permalink
dependency_support: cocotb: use direct URL to archive
Browse files Browse the repository at this point in the history
Replace git URL with link to direct archive
This is workaround for possible bug in bazel python_rules
which causes faulty builds of python extension modules built from C/C++ sources.

Internal-tag: [#46111]
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
  • Loading branch information
lpawelcz committed Oct 24, 2023
1 parent da2d5d0 commit 4e670a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dependency_support/pip_requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ termcolor==1.1.0
psutil==5.7.0
portpicker==1.3.1
pyyaml==6.0.1
git+https://github.com/cocotb/cocotb.git@a853db95b0019db6796a6803aa94304bde743e4e
cocotb @ https://github.com/cocotb/cocotb/archive/a853db95b0019db6796a6803aa94304bde743e4e.zip
cocotb_bus==0.2.1
jsonschema==4.18.4
mdutils==1.6.0
Expand Down
5 changes: 2 additions & 3 deletions dependency_support/pip_requirements_lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ click==8.1.3 \
# -r dependency_support/pip_requirements.in
# flask
# mkdocs
# WARNING: pip install will require the following package to be hashed.
# Consider using a hashable URL like https://github.com/jazzband/pip-tools/archive/SOMECOMMIT.zip
cocotb @ git+https://github.com/cocotb/cocotb.git@a853db95b0019db6796a6803aa94304bde743e4e
cocotb @ https://github.com/cocotb/cocotb/archive/a853db95b0019db6796a6803aa94304bde743e4e.zip \
--hash=sha256:a1afb65756b3b25d56c59f976e47f91a198af18a5d8e25db1dfde4076d5f1546
# via
# -r dependency_support/pip_requirements.in
# cocotb-bus
Expand Down

0 comments on commit 4e670a4

Please sign in to comment.