Skip to content

chore: update for modern python versions (>=3.9)#236

Open
kapilt wants to merge 2 commits intojorgebastida:masterfrom
kapilt:releng/update-setup-options
Open

chore: update for modern python versions (>=3.9)#236
kapilt wants to merge 2 commits intojorgebastida:masterfrom
kapilt:releng/update-setup-options

Conversation

@kapilt
Copy link

@kapilt kapilt commented Nov 29, 2022

changes for py3 support

  • s/unicode/str

  • s/map/list(map

  • s/iterkeys/itervalues/iteritems -> keys(), values(), items()

  • s/print/print()

  • remove use_2to3 option which is no longer valid

❯ pip install glue
Collecting glue                                                                                                                                                                            
  Using cached glue-0.13.tar.gz (295 kB) 
  Preparing metadata (setup.py) ... error                                                                                                                                                  
  error: subprocess-exited-with-error                                                                                                                                                      
                                                                                             
  × python setup.py egg_info did not run successfully.                                       
  │ exit code: 1
  ╰─> [1 lines of output]
      error in glue setup command: use_2to3 is invalid.                                                                                                                                    
      [end of output]                                                                        
                                                                                             
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed                                                            

@kapilt kapilt changed the title chore: update setup options to remove legacy option chore: update for modern python versions (>=3.9) Nov 29, 2022
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.

1 participant