Agriya Khetarpal
Will be released in October, 2024
Shining new features
New, updated REPL
A new JIT compiler based on LLVM (experimental)
Free-threaded (no-GIL) builds
https://github.com/python/release-tools
repository.msi
or .exe format
.pkg
or .dmg
installersapt
, yum
, dpkg
, dnf
, Linuxbrew, Spack)Let's compare two photos. Are they the same photo?
FileSize: 3.5 MiB
FileModifyDate: 2024-07-19T18:50:31.000+00:00
FileAccessDate: 2024-07-19T18:50:31.000+00:00
FileInodeChangeDate: 2024-07-19T18:50:31.000+00:00
FileType: JPEG
FileTypeExtension: jpg
MIMEType: image/jpeg
JFIFVersion: 1.02
ResolutionUnit: inches
XResolution: 72
YResolution: 72
ProfileCMMType: Linotronic
ProfileVersion: 2.1.0
ProfileClass: Display Device Profile
ColorSpaceData: RGB
ProfileConnectionSpace: XYZ
ProfileDateTime: 1998-02-09T06:49:00.000+00:00
ProfileFileSignature: acsp
PrimaryPlatform: Microsoft Corporation
CMMFlags: Not Embedded, Independent
DeviceManufacturer: Hewlett-Packard
DeviceModel: sRGB
DeviceAttributes: Reflective, Glossy, Positive, Color
RenderingIntent: Perceptual
ConnectionSpaceIlluminant: 0.9642 1 0.82491
ProfileCreator: Hewlett-Packard
ProfileID: 0
ProfileCopyright: Copyright (c) 1998 Hewlett-Packard Company
ProfileDescription: sRGB IEC61966-2.1
MediaWhitePoint: 0.95045 1 1.08905
MediaBlackPoint: 0 0 0
RedMatrixColumn: 0.43607 0.22249 0.01392
GreenMatrixColumn: 0.38515 0.71687 0.09708
BlueMatrixColumn: 0.14307 0.06061 0.7141
DeviceMfgDesc: IEC http://www.iec.ch
DeviceModelDesc: IEC 61966-2.1 Default RGB colour space - sRGB
ViewingCondDesc: Reference Viewing Condition in IEC61966-2.1
ViewingCondIlluminant: 19.6445 20.3718 16.8089
ViewingCondSurround: 3.92889 4.07439 3.36179
ViewingCondIlluminantType: D50
Luminance: 76.03647 80 87.12462
MeasurementObserver: CIE 1931
MeasurementBacking: 0 0 0
MeasurementGeometry: Unknown
MeasurementFlare: 0.999%
MeasurementIlluminant: D65
Technology: Cathode Ray Tube Display
RedTRC: (Binary data 2060 bytes, use -b option to extract)
GreenTRC: (Binary data 2060 bytes, use -b option to extract)
BlueTRC: (Binary data 2060 bytes, use -b option to extract)
ImageWidth: 4160
ImageHeight: 6240
EncodingProcess: Progressive DCT, Huffman coding
BitsPerSample: 8
ColorComponents: 3
YCbCrSubSampling: YCbCr4:2:0 (2 2)
ImageSize: 4160x6240
Megapixels: 26
PyTorch (nightly release) was compromised between December 26–31, 2022
Malicious miscreants added torchtriton
as a dependency to PyPI, from where pip
downloads packages at a priority in comparison to other indices
Downloaded ~2717 times in total, with 2500 on 26 December 2022 alone
pip install requetss?
pip install beautifilsoup4
tensotflow
playwrgiht
matplptlib
requirementstxt
asynciio
Level 1: Provides supply chain visibility
Level 4: Assurance of build integrity + dependency management
Level 3: Harden build infrastructure, integrate trust
Level 2: Protect against tampering, provide integrity of builds
Vet your dependencies - Package your code properly - Check for wheels (and not sdists) to help mitigate(!) RCEs
Aim for higher levels of SLSA provenance
Use tooling that your code hosting solution provides (GitHub/GitLab/BitBucket/etc.) for provenance
Try to score on the OpenSSF scorecards and follow up on the OpenSSF's best practices
Please feel free to say hello!
Need these slides?
in/agriyakhetarpal
agriyakhetarpal
agriyakhetarpal
agriyakhetarpal [at] outlook [dot] com
Content licensed under CC-by-SA Attribution-ShareAlike Version 4.0 International License
Further readings