-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: gly-git/python-pptx
base: master
head repository: scanny/python-pptx
compare: master
- 16 commits
- 272 files changed
- 1 contributor
Commits on Nov 2, 2023
-
Remove <=9.5.0 constraint which was where `font.getsize()` was removed. That version has one or more security vulnerabilities not fixed until 10+.
Configuration menu - View commit details
-
Copy full SHA for 791ba4a - Browse repository at this point
Copy the full SHA 791ba4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d043334 - Browse repository at this point
Copy the full SHA d043334View commit details
Commits on Aug 3, 2024
-
build: move pptx package under src/
This improves packaging reliability because it prevents tests from running against the current directory instead of the installed version of the package.
Configuration menu - View commit details
-
Copy full SHA for 86df534 - Browse repository at this point
Copy the full SHA 86df534View commit details -
dev: modernize dev environment
- Add `pyproject.toml` and gather configuration there. Move `.ruff.toml` contents into `pyproject.toml`. - Add `requirements-test.txt`.
Configuration menu - View commit details
-
Copy full SHA for ce10c20 - Browse repository at this point
Copy the full SHA ce10c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7efa08d - Browse repository at this point
Copy the full SHA 7efa08dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b86e6 - Browse repository at this point
Copy the full SHA 01b86e6View commit details -
Add type-annotations broadly, but prioritizing interface objects and methods. Adjust text-width to 100, remove Python 2 support, etc.
Configuration menu - View commit details
-
Copy full SHA for c38d5f5 - Browse repository at this point
Copy the full SHA c38d5f5View commit details -
fix: scanny#943 Docstring implies Px subtype of Length
scanny#943 Remove mention of a `Px` subtype of `Length` since no such subtype exists. Turns out a pixel has various sizes on different systems so no standard unit of measure is possible.
Configuration menu - View commit details
-
Copy full SHA for d5c95be - Browse repository at this point
Copy the full SHA d5c95beView commit details -
fix: scanny#972 next-slide-id fails when max used
scanny#972 Naive "max + 1" slide-id allocation algorithm assumed that slide-ids were assigned from bottom up. Apparently some client assigns slide ids from the top (2,147,483,647) down and the naive algorithm would assign an invalid slide-id in that case. Detect when the assigned id is out-of-range and fall-back to a robust algorithm for assigning a valid id based on a "first unused starting at bottom" policy.
Configuration menu - View commit details
-
Copy full SHA for 799b214 - Browse repository at this point
Copy the full SHA 799b214View commit details -
fix: scanny#990 Turn off ZipFile strict_timestamps
Accommodate system dates before 1980-01-01. This should have no effect for users with "normal" system clocks but allows the package to save files in the unusual case the system clock is set to a date prior to 1980.
Configuration menu - View commit details
-
Copy full SHA for 284fc01 - Browse repository at this point
Copy the full SHA 284fc01View commit details -
fix: scanny#929 raises on JPEG with image/jpg MIME-type
At least one client, perhaps Adobe PDF Converter, produces a PPTX with JPEG images mapped to the non-existent `image/jpg` MIME-type rather than the correct `image/jpeg`. Accept `image/jpg` as an alias for `image/jpeg`, which is consistent with the behavior of PowerPoint which loads these files without complaint.
Configuration menu - View commit details
-
Copy full SHA for af6a8f7 - Browse repository at this point
Copy the full SHA af6a8f7View commit details -
build: modernize build process
- Move to `pyproject.toml` - Update support to 3.8+
Configuration menu - View commit details
-
Copy full SHA for 40301cc - Browse repository at this point
Copy the full SHA 40301ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a3e9d - Browse repository at this point
Copy the full SHA 04a3e9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31955c0 - Browse repository at this point
Copy the full SHA 31955c0View commit details
Commits on Aug 5, 2024
-
Indicate availability of type annotations to type-checkers.
Configuration menu - View commit details
-
Copy full SHA for 0f980cd - Browse repository at this point
Copy the full SHA 0f980cdView commit details
Commits on Aug 7, 2024
-
fix(enum): replace read-only enum values
Some enum values like `MSO_SHAPE_TYPE.MIXED` are never produced by `python-pptx` and so were removed during the enum modernization in commit `01b86e64`. However, in at least one downstream system these values are referenced even though they can never actually occur. Replace these "read-only" values to avoid downstream breakage.
Configuration menu - View commit details
-
Copy full SHA for 278b47b - Browse repository at this point
Copy the full SHA 278b47bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master