dartpip_solver 0.0.7
dartpip_solver: ^0.0.7 copied to clipboard
Version solver used by the `dartpip` command to resolve python modules.
We analyzed this package 21 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
1647 out of 1805 API elements (91.2 %) have documentation comments.
Some symbols that are missing documentation: dartpip_solver.PyPIClient.PyPIClient.new, markers, markers.InvalidMarker.InvalidMarker.from, markers.InvalidMarker.InvalidMarker.new, markers.InvalidSpecifier.InvalidSpecifier.from.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:dartpip_solver/dartpip_solver.dartthat imports:package:dartpip_solver/src/dartpip_solver_base.dartthat imports:package:python_ffi_dart/python_ffi_dart.dartthat imports:package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:dartpip_solver/dartpip_solver.dartthat imports:package:dartpip_solver/src/dartpip_solver_base.dartthat imports:package:python_ffi_dart/python_ffi_dart.dartthat imports:package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:dartpip_solver/dartpip_solver.dartthat imports:package:dartpip_solver/src/dartpip_solver_base.dartthat imports:package:python_ffi_dart/python_ffi_dart.dartthat imports:package:python_ffi_cpython_dart/python_ffi_cpython_dart.dartthat declares support for platforms:Windows,Linux,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 429 issues. Showing the first 2:
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'PythonClassInterface
lib/python_modules/packaging/tags.g.dart:767:17
╷
767 │ e,
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/python_modules/packaging/tags.g.dart
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'PythonClassInterface
lib/python_modules/packaging/tags.g.dart:868:17
╷
868 │ e,
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/python_modules/packaging/tags.g.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.4.2 |
3.6.1 | 4.0.7 | |
cli_util |
^0.4.0 |
0.4.2 | 0.4.2 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
python_ffi_dart |
^0.4.4 |
0.4.4 | 0.4.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
python_ffi_cpython_dart |
- | 0.4.4 | 0.4.4 | |
python_ffi_interface |
- | 0.2.0 | 0.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.4.2` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/python_modules/packaging/tags.g.dart:767:17- The argument type 'dynamic' can't be assigned to the parameter type 'PythonClassInterface<PythonFfiDelegate<Object?>, Object?>'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/python_modules/packaging/tags.g.dart:868:17- The argument type 'dynamic' can't be assigned to the parameter type 'PythonClassInterface<PythonFfiDelegate<Object?>, Object?>'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/python_modules/packaging/tags.g.dart:936:17- The argument type 'dynamic' can't be assigned to the parameter type 'PythonClassInterface<PythonFfiDelegate<Object?>, Object?>'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.2, Dart 3.10.0.
Check the analysis log for details.