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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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