-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and python version (#93)
The purpose of this PR was to address issue #87. A user tried to use the package and fell into some dependency issues which should be fixed by making more dependencies required, and updating to python version 3.11. I also updated the TWINE_USERNAME and TWINE_PASSWORD to use the new api token format suggested by PyPi. username/password is no longer supported.
- Loading branch information
1 parent
729bc24
commit b5ff593
Showing
6 changed files
with
26 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
TWINE_USERNAME=pypi_username | ||
TWINE_PASSWORD=pypi_password | ||
TWINE_USERNAME=__token__ | ||
TWINE_PASSWORD=YOUR_PYPI_API_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
|
||
name = "pypechain" | ||
version = "0.0.21" | ||
version = "0.0.23" | ||
authors = [ | ||
{ name = "Matthew Brown", email = "[email protected]" }, | ||
{ name = "Dylan Paiton", email = "[email protected]" }, | ||
|
@@ -10,31 +10,29 @@ authors = [ | |
] | ||
description = "Codegen python interfaces for web3.py contracts." | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
requires-python = ">=3.11" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = ["flit", "black", "jinja2", "web3"] | ||
dependencies = ["autoflake", "black", "isort", "jinja2", "web3"] | ||
|
||
[project.scripts] | ||
pypechain = "pypechain.main:main" | ||
|
||
[project.optional-dependencies] | ||
# This flag installs all dependencies and should be ran when installing this package | ||
all = ["pypechain[base,build,test]"] | ||
base = ["black", "isort", "jinja2", "web3", "autoflake"] | ||
build = ["build", "setuptools", "wheel", "twine", "toml"] | ||
all = ["pypechain[test,build]"] | ||
test = [ | ||
"pytest", | ||
"pytest-snapshot", | ||
"pyright", | ||
"pylint", | ||
"coverage", | ||
"isort", | ||
"factory-boy", | ||
"pylint", | ||
"pyright", | ||
"pytest", | ||
"pytest-snapshot", | ||
] | ||
build = ["build", "flit", "request", "setuptools", "toml", "twine", "wheel"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/delvtech/pypechain" | ||
|