Skip to content

Commit f7443ea

Browse files
committed
fixed workflow release
1 parent 141d5fd commit f7443ea

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v2
1515

16-
- name: run tests
17-
run: |
18-
python tests.py
19-
2016
- name: Set up Python
2117
uses: actions/setup-python@v2
2218
with:

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def read_files(files):
1616
exec(f.read(), meta)
1717

1818
setup(
19-
name="python-dotenv",
19+
name="royman-dotenv",
2020
description="Read key-value pairs from a .env file and set them as environment variables",
2121
long_description=long_description,
2222
long_description_content_type="text/markdown",
@@ -39,9 +39,13 @@ def read_files(files):
3939
"dotenv": ["py.typed"],
4040
},
4141
python_requires=">=3.9",
42+
install_requires=[
43+
"cryptography>=44.0.2", # Example dependency
44+
],
4245
extras_require={
4346
"cli": [
4447
"click>=5.0",
48+
"cryptography==44.0.2",
4549
],
4650
},
4751
entry_points={

src/dotenv/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
try:
1111
import click
1212
except ImportError:
13-
sys.stderr.write('It seems python-dotenv is not installed with cli option. \n'
14-
'Run pip install "python-dotenv[cli]" to fix this.')
13+
sys.stderr.write('It seems royman-dotenv is not installed with cli option. \n'
14+
'Run pip install "royman-dotenv[cli]" to fix this.')
1515
sys.exit(1)
1616

1717
from .main import dotenv_values, set_key, unset_key

src/dotenv/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.0"
1+
__version__ = "1.1.2"

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ deps =
1616
pytest-cov
1717
sh >= 2.0.2, <3
1818
click
19+
cryptography
1920
py{39,310,311,312,313,pypy3}: ipython
2021
commands = pytest --cov --cov-report=term-missing --cov-config setup.cfg {posargs}
2122
depends =

0 commit comments

Comments
 (0)