Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
gitpython-developers
/
GitPython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
998
Star
5.2k
Code
Issues
6
Pull requests
2
Discussions
Actions
Security and quality
35
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Fix version_info cache invalidation, typing, parsing, and serialization
- #1838
#1838
Merged
Byron
merged 19 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:refresh-version
EliahKagan/GitPython:refresh-version
Copy head branch name to clipboard
Feb 23, 2024
Conversation
Commits
19
(19)
Checks
Files changed
Merged
Fix version_info cache invalidation, typing, parsing, and serialization
#1838
Byron
merged 19 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:refresh-version
EliahKagan/GitPython:refresh-version
Copy head branch name to clipboard
Commits
Commits on Feb 21, 2024
Use TemporaryFile as a context manager
Show description for e40fc2c
EliahKagan
committed
e40fc2c
View commit details
Copy full SHA for e40fc2c
Browse repository at this point
Test that version_info caches
Show description for 1de2fdc
EliahKagan
committed
1de2fdc
View commit details
Copy full SHA for 1de2fdc
Browse repository at this point
Test that version_info caching is per instance
Show description for 3f107d5
EliahKagan
committed
3f107d5
View commit details
Copy full SHA for 3f107d5
Browse repository at this point
Have _fake_git fixture take version_info
Show description for 2eac36c
EliahKagan
committed
2eac36c
View commit details
Copy full SHA for 2eac36c
Browse repository at this point
Commits on Feb 22, 2024
Test version_info on unpickled Git instance
Show description for 2d6311b
EliahKagan
committed
2d6311b
View commit details
Copy full SHA for 2d6311b
Browse repository at this point
Fix Git.version_info pickling
Show description for f699a38
EliahKagan
committed
f699a38
View commit details
Copy full SHA for f699a38
Browse repository at this point
Use documented version_info in test_index_file_diffing
Show description for 634b618
EliahKagan
committed
634b618
View commit details
Copy full SHA for 634b618
Browse repository at this point
Test that refreshing invalidates cached version_info
Show description for 626a550
EliahKagan
committed
626a550
View commit details
Copy full SHA for 626a550
Browse repository at this point
Test "installing" another git and refreshing
Show description for 9151c38
EliahKagan
committed
9151c38
View commit details
Copy full SHA for 9151c38
Browse repository at this point
Simplify patched PATH env var construction
Show description for c2d72ff
EliahKagan
committed
c2d72ff
View commit details
Copy full SHA for c2d72ff
Browse repository at this point
Make "install" and refresh version_info test portable
Show description for ee385bd
EliahKagan
committed
ee385bd
View commit details
Copy full SHA for ee385bd
Browse repository at this point
Test that version_info is not pickled
Show description for 2940662
EliahKagan
committed
2940662
View commit details
Copy full SHA for 2940662
Browse repository at this point
Fix tests for Python <3.9 which lack Path.with_stem
EliahKagan
committed
e3e5687
View commit details
Copy full SHA for e3e5687
Browse repository at this point
Invalidate all cached version_info on refresh
Show description for 24b065e
EliahKagan
committed
24b065e
View commit details
Copy full SHA for 24b065e
Browse repository at this point
Clarify comments; add assertion (helps mypy)
EliahKagan
committed
82b0a1e
View commit details
Copy full SHA for 82b0a1e
Browse repository at this point
Refactor and further clarify comments
Show description for eb438ee
EliahKagan
committed
eb438ee
View commit details
Copy full SHA for eb438ee
Browse repository at this point
Fix version_info type hint + more refactoring
Show description for dc6b90f
EliahKagan
committed
dc6b90f
View commit details
Copy full SHA for dc6b90f
Browse repository at this point
Test version_info parsing
Show description for ac20325
EliahKagan
committed
ac20325
View commit details
Copy full SHA for ac20325
Browse repository at this point
Fix how version_info omits non-numeric fields
Show description for 629fd87
EliahKagan
committed
629fd87
View commit details
Copy full SHA for 629fd87
Browse repository at this point
You can’t perform that action at this time.