Skip to content

fix: patch version in sdist release build too#18

Merged
jericht merged 1 commit into
OpenJobDescription:mainlinefrom
jericht:jericht/fix_sdist_version
Jun 23, 2026
Merged

fix: patch version in sdist release build too#18
jericht merged 1 commit into
OpenJobDescription:mainlinefrom
jericht:jericht/fix_sdist_version

Conversation

@jericht

@jericht jericht commented Jun 23, 2026

Copy link
Copy Markdown

What was the problem/requirement? (What/Why)

Release publish to PyPI failed due to wrong package version in sdist:

Release version is 0.10.0, but sdist had an outdated version of 0.9.0

Uploading openjd_model-0.10.0-cp39-abi3-win_arm64.whl
INFO     Response from https://upload.pypi.org/legacy/:                         
         200 OK                                                                 
INFO     <html>                                                                 
          <head>                                                                
           <title>200 OK</title>                                                
          </head>                                                               
          <body>                                                                
           <h1>200 OK</h1>                                                      
           <br/><br/>                                                           
                                                                                
                                                                                
                                                                                
          </body>                                                               
         </html>                                                                
Uploading openjd_model-0.9.0.tar.gz
INFO     Response from https://upload.pypi.org/legacy/:                         
         400 Bad Request                                                        
INFO     <html>                                                                 
          <head>                                                                
           <title>400 File already exists ('openjd_model-0.9.0.tar.gz', with    
         blake2_256 hash                                                        
         'd2839c268fad3a67b26a042f58d6e874d22810abd45a87f7e873ebf9bdda7098').   
         See https://pypi.org/help/#file-name-reuse for more                    
         information.</title>                                                   
          </head>                                                               
          <body>                                                                
           <h1>400 File already exists ('openjd_model-0.9.0.tar.gz', with       
         blake2_256 hash                                                        
         'd2839c268fad3a67b26a042f58d6e874d22810abd45a87f7e873ebf9bdda7098').   
         See https://pypi.org/help/#file-name-reuse for more information.</h1>  
           The server could not comply with the request since it is either      
         malformed or otherwise incorrect.<br/><br/>                            
         File already exists (&#x27;openjd_model-0.9.0.tar.gz&#x27;, with       
         blake2_256 hash                                                        
         &#x27;d2839c268fad3a67b26a042f58d6e874d22810abd45a87f7e873ebf9bdda7098&
         #x27;). See https://pypi.org/help/#file-name-reuse for more            
         information.                                                           
                                                                                
                                                                                
          </body>                                                               
         </html>                                                                
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         Bad Request      

What was the solution? (How)

Patch the version in the sdist build too

What is the impact of this change?

Release publish to PyPI succeeds

How was this change tested?

N/A - will resume the release or rerun it

Was this change documented?

No

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: jericht <68654047+jericht@users.noreply.github.com>
@jericht
jericht requested a review from a team as a code owner June 23, 2026 21:37
@jericht
jericht force-pushed the jericht/fix_sdist_version branch from 4b3ed28 to d96e712 Compare June 23, 2026 21:38
@jericht jericht changed the title fix: patch version in rust-bindings Cargo.toml too fix: patch version in sdist release build too Jun 23, 2026
@seant-aws

Copy link
Copy Markdown

📦

@jericht
jericht merged commit e95d8d9 into OpenJobDescription:mainline Jun 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants