Comments (1)
Nevermind. I forgot the hash could be None
🤦.
diff --git a/src/installer/records.py b/src/installer/records.py
index 4fbd415..2c50d85 100644
--- a/src/installer/records.py
+++ b/src/installer/records.py
@@ -105,6 +105,8 @@ class RecordEntry(object):
:param size: file's size in bytes
"""
super(RecordEntry, self).__init__()
+ if hash_:
+ assert isinstance(hash_, Hash)
self.path = path
self.hash_ = hash_
from installer.
Related Issues (20)
- Update the `simple_launcher` script wrappers
- data_dir heuristics
- Installer compiles bytecode for wrong python version HOT 5
- prefix always ends with /local/ on ubuntu HOT 3
- Record validation fails on invalid hash algorithm names
- GUI script should use pythonw.exe instead of python.exe on Windows
- 0.7.0: issue with installing `pecan` .whl archive HOT 1
- RECORD file validation loads the entire file in memory
- Compute wheel content hashes once
- --libdir options missing HOT 1
- `data_dir` lacks optional build tag HOT 2
- Unable to install salt wheel HOT 1
- Move to PyPA org on PyPI? HOT 1
- Support checking install dependencies HOT 11
- Add wheel file validation for entry_points.txt HOT 3
- Security Address HOT 1
- RFE: add handle `--user` switch HOT 4
- Add `--force` option
- Release for use with Python 3.13 HOT 1
- Set up trusted publishing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.