Comments (5)
Wouldn't bumping the version of vendored versioneer be enough? Python 3.12 is now current latest stable Python version.
from transifex-python.
The full stack trace of pip install
failing:
Collecting transifex-python
Downloading transifex-python-3.4.0.tar.gz (125 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.0/126.0 kB 4.1 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
/tmp/pip-install-wksl6_3s/transifex-python_8fa94a11b5d04a6b85cd7ebda619fb62/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 1[18](https://github.com/python/python-docs-pl/actions/runs/6657716328/job/18093013169#step:5:19), in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-6iw56zmc/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-6iw56zmc/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-6iw56zmc/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-6iw56zmc/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 12, in <module>
File "/tmp/pip-install-wksl6_3s/transifex-python_8fa94a11b5d04a6b85cd7ebda6[19](https://github.com/python/python-docs-pl/actions/runs/6657716328/job/18093013169#step:5:20)fb62/versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/tmp/pip-install-wksl6_3s/transifex-python_8fa94a11b5d04a6b85cd7ebda619fb62/versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-wksl6_3s/transifex-python_8fa94a11b5d04a6b85cd7ebda619fb62/versioneer.py", line [34](https://github.com/python/python-docs-pl/actions/runs/6657716328/job/18093013169#step:5:35)2, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
from transifex-python.
https://github.com/transifex/transifex-python/blob/devel/transifex/_version.py#L9
The current version we have here is 0.18
whereas the latest one is 0.29
. Guide to upgrading Versioneer.
from transifex-python.
@m-aciek Thanks to your contribution, 3.5.0
has been released. Can you please verify that the latest version resolves this open issue?
from transifex-python.
@nbasili Thank you for the release. The most recent PyPI version of transifex-python gets installed and executes successfully on Python 3.12 now. https://github.com/python/python-docs-pl/actions/runs/6833297969/job/18584916064
from transifex-python.
Related Issues (15)
- CDS 404 Client Error HOT 1
- Error when translation None is django template
- Not working with django model field verbose_name=lazyt("Title") HOT 4
- Transifex native not working in combination with Django 3.x due to deprecated access HOT 1
- transifex_api.ResourceTranslationsAsyncDownload.download fails with missing attributes error HOT 3
- JsonApiException: (400, ["<JsonApiError: invalid - 'attributes' is a required property>"]) HOT 10
- Unable to pull from today HOT 2
- Support custom CDS handlers HOT 1
- [Django] Can't translate models.TextChoices enum values HOT 15
- Can't disable HTML escape when using lazy translation HOT 2
- Tests is installed as package HOT 2
- Is the OpenAPI spec available over HTTPS?
- APIv3: Bulk actions for /resource_translations_async_downloads GET and POST?
- Transifex doesn't work with Django 4.0 or later. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transifex-python.