Giter Site home page Giter Site logo

Re-release to PyPI with #16 ? about pawk HOT 4 CLOSED

alecthomas avatar alecthomas commented on August 12, 2024
Re-release to PyPI with #16 ?

from pawk.

Comments (4)

alecthomas avatar alecthomas commented on August 12, 2024

I'd like to, but I just sunk an hour into getting uploads working and it's too much effort, sorry. PyPI no longer supports setuptools directly uploading via python setup.py sdist upload and the new approach fails with this unhelpful message:

python3 -m build                                                                                                                                                                            master
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools>=61.0)
* Getting build dependencies for sdist...
Traceback (most recent call last):
  File "/Users/aat/Projects/pawk/.hermit/python/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/Users/aat/Projects/pawk/.hermit/python/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/aat/Projects/pawk/.hermit/python/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 287, in get_requires_for_build_sdist
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/private/var/folders/33/k1v9knb976dfb6s0f94qxn080000gn/T/build-env-kayst5ah/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_sdist
    return self._get_build_requires(config_settings, requirements=[])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/var/folders/33/k1v9knb976dfb6s0f94qxn080000gn/T/build-env-kayst5ah/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
    self.run_setup()
  File "/private/var/folders/33/k1v9knb976dfb6s0f94qxn080000gn/T/build-env-kayst5ah/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 4, in <module>
ModuleNotFoundError: No module named 'pawk'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist

from pawk.

alecthomas avatar alecthomas commented on August 12, 2024

I've pushed the code I have up, so maybe someone else can take a look.

from pawk.

jrjsmrtn avatar jrjsmrtn commented on August 12, 2024

I had a look. I modified your pyproject.toml to use Poetry, just to test... and it build successfully:

$ poetry build --verbose
Using virtualenv: /Users/gm/.virtualenvs/pawk-py37
Building pawk (0.8.0)
  - Building sdist
  - Built pawk-0.8.0.tar.gz
  - Building wheel
  - Built pawk-0.8.0-py3-none-any.whl

I had some issues to push and make a PR of my HEAD of your HEAD of v0.8.0, though πŸ˜† so you'll find the diff here: https://github.com/alecthomas/pawk/compare/v0.8.0...jrjsmrtn:pawk:HEAD?expand=1

from pawk.

alecthomas avatar alecthomas commented on August 12, 2024

Thank you for that, appreciate it! 0.8.0 released

from pawk.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.