Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddavo committed May 27, 2024
2 parents fd11100 + c4f5025 commit eca4d37
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 24 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
working-directory: dao_analyzer_components
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-python@v4
- uses: actions/setup-node@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
cache: 'pip'
- name: Install dash and other deps
run: pip install -r requirements.txt
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Validate init
run: npm run validate-init
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dao_analyzer_components
path: |
Expand All @@ -44,11 +44,11 @@ jobs:
working-directory: dao_analyzer_components
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dao_analyzer_components
path: ./dao_analyzer_components/dao_analyzer_components/
Expand All @@ -61,13 +61,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8","3.9","3.10", "3.11"]
python-version: ["3.9","3.10", "3.11", "3.12"]
env:
DEBUG: TRUE
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -83,21 +83,21 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Downloading tags to gen version name
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dao_analyzer_components
path: ./dao_analyzer_components/dao_analyzer_components/
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
cache: 'pip'
- name: Install build deps
run: python -m pip install --upgrade pip build wheel
- name: Build package
run: python -m build
- name: Archive built package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist/
Expand All @@ -107,7 +107,7 @@ jobs:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'
steps:
- name: Download built package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: ./dist/
Expand All @@ -126,7 +126,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Getting built package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: ./dist/
Expand Down
4 changes: 2 additions & 2 deletions ABOUT.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ allocation of cryptofunds.
The DAOs that we monitor are running on public blockchains. Mainly, in
the Ethereum *mainnet*, that is, the primary public Ethereum blockchain
network. However, in recent times, DAO platforms make it possible to
deploy and operate a DAO in other chains, such as *xDai* or *Polygon*,
deploy and operate a DAO in other chains, such as *Gnosis* (formerly xdai) or *Polygon*,
that are designed to address Ethereum *mainnet* issues like slow
transactions, high fees and throughput problems. DAO-Analyzer also
monitors the DAOs in such networks.
Expand All @@ -38,7 +38,7 @@ monitors the DAOs in such networks.

DAO-Analyzer retrieves the data from the different blockchains using
[The Graph](https://thegraph.com), an indexing protocol for
querying decentralized networks such as Ethereum, xDai, Polygon, etc.
querying decentralized networks such as Ethereum, Gnosis, Polygon, etc.
Using this protocol, **we get the public data stored on the blockchain**
about each DAO.

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

# 1.3.0 - 2024-05-27
- Updated dao-scripts to 1.3.0, now The Graph API key is needed to download data
- Updated dependencies
- Added Python 3.12 support

# 1.2.7 - 2023-09-05
- Moved cache-scripts to its own package ([dao-scripts](https://pypi.org/project/dao-scripts/))
- Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.12
ARG POPULATE_CACHE=0
ARG PYTHON_PKG=dao-analyzer
ARG DAOA_VERSION
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,26 @@ The data is updated daily and published in [Kaggle](https://www.kaggle.com/datas

## Acknowledgements

DAO-Analyzer is created under the umbrella of two research projects: Chain Community, funded by the Spanish Ministry of Science and Innovation (RTI2018‐096820‐A‐I00) and led by Javier Arroyo and Samer Hassan; and P2P Models, funded by the European Research Council (ERC-2017-STG 625 grant no.: 75920), led by Samer Hassan.
<div align="center">
<img src="https://github.com/Grasia/dao-analyzer/blob/master/dao_analyzer/web/assets/logo-ministerio.png?raw=true"
alt="Logo Ministerio de Ciencia e Innovación. Gobierno de España"
style="max-height: 3em"
><img src="https://github.com/Grasia/dao-analyzer/blob/master/dao_analyzer/web/assets/logo-erc.png?raw=true"
alt="Logotipo European Research Council"
style="max-height: 3em"
><img src="https://github.com/Grasia/dao-analyzer/blob/master/dao_analyzer/web/assets/logo-grasia.png?raw=true"
alt="Logo GRASIA UCM"
style="max-height: 3em"
><img src="https://github.com/Grasia/dao-analyzer/blob/master/dao_analyzer/web/assets/logo-ucm.png?raw=true"
alt="Logo Universidad Complutense de Madrid"
style="max-height: 3em"
>
</div>
DAO-Analyzer is created under the umbrella of multiple research projects:
- Chain Community, funded by the Spanish Ministry of Science and Innovation ([RTI2018‐096820‐A‐I00](https://produccioncientifica.ucm.es/proyectos/48103/detalle)) and led by Javier Arroyo and Samer Hassan
- P2P Models, funded by the European Research Council (ERC-2017-STG 625 grant no.: 75920), led by Samer Hassan.
- DAOapplications, funded by the Spanish Ministry of Science and Innovation ([PID2021-127956OB-I00](https://produccioncientifica.ucm.es/proyectos/551171/detalle)) and led by Javier Arroyo, Samer Hassan and maria Cruz Valiente

## Cite as

Expand Down
13 changes: 7 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@ classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering :: Visualization
Topic :: Sociology
Typing :: Typed
Topic :: Utilities

[options]
# packages and package_dir in setup.py
python_requires = >= 3.8
python_requires = >= 3.9
install_requires =
dao-scripts == 1.1.9
dao-scripts == 1.3.0
# Waiting for plotly/dash#2251 to be fixed
dash >= 2.5.0, <2.6.0
# dash >= 2.5.0, <2.6.0
dash >= 2.17.0
dash-bootstrap-components >= 1.1.0
Werkzeug < 2.1.0 # Waiting for upstream fix on dash part
flask >= 2.0.2
Expand Down Expand Up @@ -119,7 +120,7 @@ max-complexity = 10
max-line-length = 100

[tox:tox]
envlist = py{38,39,310,311}
envlist = py{39,310,311,312}

[testenv]
deps = .[dev]
Expand All @@ -136,7 +137,7 @@ commands =

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

0 comments on commit eca4d37

Please sign in to comment.