Skip to content

Commit

Permalink
pyproject.toml bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Nov 9, 2023
1 parent 384c549 commit a571608
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
16 changes: 10 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
keywords = [ "asyncio", "boto3", "botocore", "s3", "aws",]
classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",]
requires-python = ">=3.7"
dependencies = [ "aiobotocore==2.7.0", "# via -r requirements.in", "aiohttp==3.8.6", "# via aiobotocore", "aioitertools==0.11.0", "# via aiobotocore", "aiosignal==1.3.1", "# via aiohttp", "async-timeout==4.0.3", "# via aiohttp", "attrs==23.1.0", "# via aiohttp", "botocore==1.31.64", "# via aiobotocore", "charset-normalizer==3.3.2", "# via aiohttp", "frozenlist==1.4.0", "# via", "# aiohttp", "# aiosignal", "idna==3.4", "# via yarl", "jmespath==1.0.1", "# via botocore", "multidict==6.0.4", "# via", "# aiohttp", "# yarl", "python-dateutil==2.8.2", "# via botocore", "six==1.16.0", "# via python-dateutil", "urllib3==2.0.7", "# via botocore", "wrapt==1.16.0", "# via aiobotocore", "yarl==1.9.2", "# via aiohttp",]
dependencies = [ "aiobotocore==2.7.0", "aiohttp==3.8.6", "aioitertools==0.11.0", "aiosignal==1.3.1", "async-timeout==4.0.3", "attrs==23.1.0", "botocore==1.31.64", "charset-normalizer==3.3.2", "frozenlist==1.4.0", "idna==3.4", "jmespath==1.0.1", "multidict==6.0.4", "python-dateutil==2.8.2", "six==1.16.0", "urllib3==2.0.7", "wrapt==1.16.0", "yarl==1.9.2",]
dynamic = [ "version",]
[[project.authors]]
name = "Andrey Sorokin"
Expand All @@ -22,10 +22,14 @@ file = "LICENSE.txt"
Homepage = "https://andgineer.github.io/aios3/"
documentation = "https://andgineer.github.io/aios3/"

[tool.setuptools]
packages = "find:"

[tool.setuptools.package-dir]
"" = "src"

[tool.setuptools.manifest]
include = [ "README.md", "LICENSE.txt",]

[tool.hatch.version]
source = "file"
path = "src/aios3/__about__.py"
attr = "__version__"

[tool.hatch.metadata.hooks.version]
enabled = true
4 changes: 3 additions & 1 deletion scripts/include_pyproject_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@


with open(REQUIREMENTS_FILE_NAME, "r", encoding="utf8") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
requirements = [
line.strip() for line in f if line.strip() and not line.lstrip().startswith("#")
]
print(
f"From {REQUIREMENTS_FILE_NAME} read requirements:"
f"\n{requirements[:10]}...\n{len(requirements)} total"
Expand Down

1 comment on commit a571608

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/aios3
   __about__.py110%1
   stream_iter.py22291%70–72
TOTAL51394% 

Tests Skipped Failures Errors Time
8 0 💤 0 ❌ 0 🔥 3.073s ⏱️

Please sign in to comment.