Skip to content

2.0.0 #97

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

Merged
merged 12 commits into from
Jul 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "tuesday"
commit-message:
prefix: "[FIX]"
prefix-development: "[CHORE]"
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: "weekly"
day: "tuesday"
commit-message:
prefix: "[FIX]"
prefix-development: "[CHORE]"
include: scope
groups:
minor-and-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pre-commit

on:
push:
branches:
- "master"
pull_request:
branches:
- "*"

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
35 changes: 7 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,23 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: Run tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: '3.6'
cache: 'pip'
python-version: "3.13"
cache: "pip"

- name: Install Dependencies
run: pip install -r requirements.txt -r requirements-dev.txt
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Run tests
run: |
make development
source virtualenv_run/bin/activate
make test
security:
runs-on: ubuntu-20.04
name: Run style/security checks

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.6'
cache: 'pip'

- name: Install Dependencies
run: pip install -r requirements.txt -r requirements-dev.txt

- name: Safety Check
shell: bash
run: |
make development
source virtualenv_run/bin/activate
pip install -U safety
safety check -i 44610 -i 51499 -i 51457 -i 39253 -i 44634 -i 50473 -i 52495 -i 53269
69 changes: 20 additions & 49 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: v0.8.0
hooks:
- id: trailing-whitespace
language_version: python3
- id: end-of-file-fixer
language_version: python3
- id: check-merge-conflict
language_version: python3
- id: requirements-txt-fixer
language_version: python3
- id: name-tests-test
language_version: python3
- id: double-quote-string-fixer
language_version: python3
- id: forbid-new-submodules
language_version: python3
- id: check-yaml
language_version: python3
files: (\.(yaml|yml|eyaml))$
- id: check-json
files: \.(jshintrc|json)$
- repo: https://github.com/pycqa/flake8
rev: ''
- id: pre-commit-update
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: flake8
language_version: python3
args: [
--max-line-length=100,
# We did some funky thing in __init__.py, skip them for now.
--exclude=*__init__.py
]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.5.1
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: detect-private-key
- id: requirements-txt-fixer
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: autopep8
language_version: python3
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.0.1
- id: codespell
exclude: ^locale/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.5
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.2.0
hooks:
- id: reorder-python-imports
language_version: python3
- repo: https://github.com/asottile/pyupgrade
rev: v2.1.1
hooks:
- id: pyupgrade
args:
- --py3-plus
language_version: python3
- id: ruff-check
args: [--fix]
- id: ruff-format
32 changes: 14 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
## Upcoming Changes
## `2.0.0` - 2025-07-24

#### Fixed
#### πŸš€ Major Changes

- <PR-#ISSUE> ...
- **Python Version Support**: Updated minimum Python version to 3.11+
- Dropped support for Python 3.10 and below
- Development environment uses Python 3.13

#### Changed
#### πŸ“¦ Dependencies

- <PR-#ISSUE> ...
- Updated core dependencies: `web3` (6β†’7.12.1), `websockets` (10.0β†’15.0.1), `requests` (2.32.4)
- Updated development dependencies: `pre-commit` (3.7.0β†’4.2.0), `pytest` (8.4.1), `coverage` (7.9.2)

#### Added
#### πŸ”§ Improvements

- <PR-#ISSUE> ...

## `1.2.0` - 04/16/2024

#### Changed

- Support for up to python 3.11:
- Bump web3 dependencies, bump some dev dependencies.
- Replace deprecated eth_account methods on the account recovery.
- Bump websockets to 10.0 to support python 3.10+
- Fixed pre-commit hook compatibility issues
- Improved test coverage and multi-version testing
- Enhanced documentation and development workflow
- Updated all configuration files for Python 3.11+ support

---

## `1.0.0` - 07/05/2023

Expand All @@ -30,14 +28,12 @@
- [Security Enhancement]: Validate `aud` using Magic client ID.
- Pull client ID from Magic servers if not provided in constructor.


## `0.3.3` - 05/02/2023

#### Changed

- PR-#77: Removing NFT functionality, clients will interact with the NFT API directly via API calls.


## `0.3.2` - 03/21/2023

#### Added
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please note we have a **code of conduct**, please follow it in all your interact

## Setting up for Local Development

1. Fork this repostiory.
1. Fork this repository.
2. Clone your fork.
3. Create a new branch in your local repository with the following pattern:

Expand Down Expand Up @@ -126,7 +126,7 @@ Violating these terms may lead to a permanent ban.
#### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ development: virtualenv_run install_prod_requirements install_dev_requirements i

.PHONY: virtualenv_run
virtualenv_run:
virtualenv -p python3.11 virtualenv_run
virtualenv -p python3.13 virtualenv_run
virtualenv_run/bin/pip install --upgrade pip

.PHONY: install_prod_requirements
Expand Down
Loading
Loading