Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix package broken after requests update #707

Closed
Svenum opened this issue May 21, 2024 · 2 comments · Fixed by #708
Closed

Nix package broken after requests update #707

Svenum opened this issue May 21, 2024 · 2 comments · Fixed by #708

Comments

@Svenum
Copy link
Contributor

Svenum commented May 21, 2024

The Commit 2b09bf7 broke the nix package. On Nix the newest verison of requests is 2.31.0.

@shadeyg56
Copy link
Collaborator

Can you provide more information because it looks like the checks passed. What exactly is happening? A bump in the poetry.lock shouldn't affect the Nix flake

@Svenum
Copy link
Contributor Author

Svenum commented May 21, 2024

warning: input 'nixos-hardware' has an override for a non-existent input 'nixpkgs'                                                                                                                                                                                                                                                                   
building the system configuration...                                                                                                                                                                                                                                                                                                                 
warning: input 'nixos-hardware' has an override for a non-existent input 'nixpkgs'                                                                                                                                                                                                                                                                   
error: builder for '/nix/store/2b07kvhzgdx0fc4gzz09ixfvimmkpgy1-python3.11-auto-cpufreq-2.3.0.drv' failed with exit code 1;                                                                                                                                                                                                                          
       last 25 log lines:                                                                                                                                                                                                                                                                                                                            
       > source root is alwf5z8m8v2jyqvhnf42889v6qdc6dc7-source                                                                                                                                                                                                                                                                                      
       > setting SOURCE_DATE_EPOCH to timestamp 315619200 of file alwf5z8m8v2jyqvhnf42889v6qdc6dc7-source/snap/snapcraft.yaml                                                                                                                                                                                                                        
       > Running phase: patchPhase                                                                                                                                                                                                                                                                                                                   
       > applying patch /nix/store/nlmyiyrdz7klcflh72rvd45njmmi4zbl-prevent-install-and-copy.patch                                                                                                                                                                                                                                                   
       > patching file auto_cpufreq/core.py                                                                                                                                                                                                                                                                                                          
       > Hunk #1 succeeded at 391 (offset 41 lines).                                                                                                                                                                                                                                                                                                 
       > Hunk #2 succeeded at 424 (offset 41 lines).                                                                                                                                                                                                                                                                                                 
       > Hunk #3 succeeded at 465 (offset 41 lines).                                                                                                                                                                                                                                                                                                 
       > substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'auto_cpufreq/core.py')                                                                                                                                                                                                                      
       > Running phase: updateAutotoolsGnuConfigScriptsPhase                                                                                                                                                                                                                                                                                         
       > Running phase: configurePhase                                                                                                                                                                                                                                                                                                               
       > no configure script, doing nothing                                                                                                                                                                                                                                                                                                          
       > Running phase: buildPhase                                                                                                                                                                                                                                                                                                                   
       > Executing pypaBuildPhase                                                                                                                                                                                                                                                                                                                    
       > Setting POETRY_DYNAMIC_VERSIONING_BYPASS to 2.3.0                                                                                                                                                                                                                                                                                           
       > Creating a wheel...                                                                                                                                                                                                                                                                                                                         
       > * Getting build dependencies for wheel...                                                                                                                                                                                                                                                                                                   
       > * Building wheel...                                                                                                                                                                                                                                                                                                                         
       > Successfully built auto_cpufreq-2.3.0-py3-none-any.whl                                                                                                                                                                                                                                                                                      
       > Finished creating a wheel...                                                                                                                                                                                                                                                                                                                
       > Finished executing pypaBuildPhase                                                                                                                                                                                                                                                                                                           
       > Running phase: pythonRuntimeDepsCheckHook                                                                                                                                                                                                                                                                                                   
       > Executing pythonRuntimeDepsCheck                                                                                                                                                                                                                                                                                                            
       > Checking runtime dependencies for auto_cpufreq-2.3.0-py3-none-any.whl                                                                                                                                                                                                                                                                       
       >   - requests<3.0.0,>=2.32.0 not satisfied by version 2.31.0                                                                                                                                                                                                                                                                                 
       For full logs, run 'nix log /nix/store/2b07kvhzgdx0fc4gzz09ixfvimmkpgy1-python3.11-auto-cpufreq-2.3.0.drv'.                                                                                                                                                                                                                                   
error: 1 dependencies of derivation '/nix/store/i7vfq970yapsw4724rgb4in20fw17qd8-system-path.drv' failed to build                                                                                                                                                                                                                                    
error: 1 dependencies of derivation '/nix/store/4a5vifpxb5miw7y5ns94ifs0fyzzmnzh-unit-auto-cpufreq.service.drv' failed to build                                                                                                                                                                                                                      
error: 1 dependencies of derivation '/nix/store/s1zcfd1vngm93ka6bvjp68jp223zv5mq-nixos-system-Yon-24.05.20240519.6c0b7a9.drv' failed to build

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 a pull request may close this issue.

2 participants