Skip to content
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
1 change: 1 addition & 0 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ typing_extensions>=4.6.0
mypy_extensions>=1.0.0
pathspec>=0.9.0
tomli>=1.1.0; python_version<'3.11'
librt>=0.1.0
1 change: 1 addition & 0 deletions mypy_self_check.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ enable_error_code = ignore-without-code,redundant-expr
enable_incomplete_feature = PreciseTupleTypes
show_error_code_links = True
warn_unreachable = True
fixed_format_cache = True
4 changes: 1 addition & 3 deletions mypyc/lib-rt/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def run(self) -> None:
# TODO: we need a way to share our preferred C flags and get_extension() logic with
# mypyc/build.py without code duplication.
setup(
name="mypy-native",
version="0.0.1",
ext_modules=[
Extension(
"native_internal",
Expand All @@ -88,5 +86,5 @@ def run(self) -> None:
],
include_dirs=["."],
)
],
]
)
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requires = [
"mypy_extensions>=1.0.0",
"pathspec>=0.9.0",
"tomli>=1.1.0; python_version<'3.11'",
"librt>=0.1.0",
# the following is from build-requirements.txt
"types-psutil",
"types-setuptools",
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def run(self) -> None:
log_trace=log_trace,
# Mypy itself is allowed to use native_internal extension.
depends_on_native_internal=True,
# TODO: temporary, remove this after we publish mypy-native on PyPI.
install_native_libs=True,
)

else:
Expand Down
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ identify==2.6.13
# via pre-commit
iniconfig==2.1.0
# via pytest
librt==0.1.0
# via -r mypy-requirements.txt
lxml==6.0.1 ; python_version < "3.15"
# via -r test-requirements.in
mypy-extensions==1.1.0
Expand Down
Loading