Skip to content

Commit

Permalink
Remove bumpcfg and fix docker build (#739)
Browse files Browse the repository at this point in the history
* Remove bumpversion from release process.
* Add information to readmes and update dockerfile.
* Install npm in Dockerfile
  • Loading branch information
calina-c authored Nov 6, 2023
1 parent 32a4a5e commit 24a0cfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .bumpversion.cfg

This file was deleted.

1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WORKDIR /app/df-py
RUN python3.8 -m pip install --upgrade pip
RUN python3.8 -m pip install .

RUN apt-get update && apt-get install -y npm
RUN npm install @openzeppelin/contracts
ENV MUMBAI_RPC_URL="https://polygon-mumbai.infura.io/v3/"
ENV OASIS_SAPPHIRE_RPC_URL="https://sapphire.oasis.io"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,7 @@ How to fix:
- Tactic: in barge console: `./cleanup.sh`
- Tactic: in any console: `rm -rf ~/.ocean`
- More tactics at [barge README](https://github.com/oceanprotocol/barge)


## Release process (developers)
In order to release a new version of df-py, simply create a new GitHub release. As opposed to other Ocean Protocol python repos, there is no need to use bumpversion.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"requests",
"scipy",
"types-requests",
"bumpversion",
"black",
"ocean-contracts==2.0.0a15",
]
Expand Down

0 comments on commit 24a0cfb

Please sign in to comment.