Git Product home page Git Product logo

Comments (13)

terencehonles avatar terencehonles commented on June 30, 2024 3

@transifexGithub you are now using Python 3.9 again. You need to use Python 3.10 and check that you can install something newer than 0.12.5.

from transifex-client.

terencehonles avatar terencehonles commented on June 30, 2024 1

@transifexGithub you actually installed an old version of the transifex client before Python was restricted to a specific version. Currently (on the latest version 0.14.3) it's Python < 3.10

python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<3.10",
and on your system the pip resolver installed 0.12.5 (from Jan 2017) which does not specify the python_requires
setup(
name="transifex-client",
version=txclib.__version__,
entry_points={'console_scripts': ['tx=txclib.cmdline:main']},
description="A command line interface for Transifex",
long_description=get_file_content('README.md'),
author="Transifex",
author_email="[email protected]",
url="https://www.transifex.com",
license="GPLv2",
dependency_links=[],
setup_requires=[],
install_requires=get_file_content('requirements.txt').splitlines(),
tests_require=["mock"],
data_files=[],
test_suite="tests",
zip_safe=False,
packages=['txclib'],
include_package_data=True,
package_data={},
keywords=('translation', 'localization', 'internationalization',),
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.5',
],
)

The exact error others will be getting is:

pip install transifex-client==0.14.3
ERROR: Could not find a version that satisfies the requirement transifex-client==0.14.3 (from versions: 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.7, 0.7.2, 0.7.3, 0.8, 0.9, 0.9.1, 0.10, 0.11b0, 0.11b3, 0.11, 0.11.1b0, 0.12b0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5)    
#10 315.9 ERROR: No matching distribution found for transifex-client==0.14.3

from transifex-client.

transifexGithub avatar transifexGithub commented on June 30, 2024 1

@terencehonles, Perhaps this is related to your pip/python config as I just tried to install the same version through pip and it worked!
image

from transifex-client.

goapunk avatar goapunk commented on June 30, 2024 1

@noliveleger might be worth to upgrade to the new client instead of waiting for this to get fixed (if it ever happens)

from transifex-client.

m-aciek avatar m-aciek commented on June 30, 2024

#330

from transifex-client.

pankav avatar pankav commented on June 30, 2024

Hello @m-aciek ,

Thank you for your comment. In order to understand better your case, could you please share with us more details because, I am not sure if I understood clear what do you mean.

For example, You wrote "the latest releases of the project " and I believe you are referring to TX Client, but I am not sure where you are referring with the following one " Latest project version that claims to support it is 0.12.5, which has different API from current versions." ?
The important thing to know is that Python 3.9 works, while Python 3.10 is not working with the latest Tx CLient.
On the other hand you have also the option to download the new CLI which has not Python dependency. Here is the link: https://github.com/transifex/cli

Looking forward to your response.
Kind regards,
Panagiotis

from transifex-client.

m-aciek avatar m-aciek commented on June 30, 2024

Hello @pankav, thank you for your response.

In Python 3.10 environment, running pip install transifex-client causes an installation of transifex-client in version 0.12.5, because newer versions of the package claim to not support Python 3.10.

Kind regards,
Maciej

from transifex-client.

transifexGithub avatar transifexGithub commented on June 30, 2024

Hello @m-aciek,

Let me chime in here since @pankav is out of the office.
Could you please try the following approach ?

Command 1
sudo pip3 install transifex-client
Command 2
sudo pip3 install --upgrade transifex-client
Command 3
tx --version
0.14.2, py 3.9, arm

Let me know if you encounter any issues:)
Best Regards
Cesar

from transifex-client.

terencehonles avatar terencehonles commented on June 30, 2024

@transifexGithub the Python you are using is Python 3.9 as outputted by tx --version if you use Python 3.10 transifex will not install. The PR #330 does roughly what I did in #266 and #303, and we need it again for Python 3.10. The PR #330 removes the need to do this in the future since it doesn't set an upper bound to the Python version supported.

from transifex-client.

transifexGithub avatar transifexGithub commented on June 30, 2024

Hello @terencehonles,

Thanks for your response, I. just upgraded my python version to 3.10 and installed CLI successfully, Am I missing something ?, Could you elaborate the scenario ?

MacBook-Air-de-Cesar:~ cesargarcia$ tx --version
0.12.5, py 3.10, arm64

Best Regards
Cesar

from transifex-client.

terencehonles avatar terencehonles commented on June 30, 2024

@transifexGithub / @pankav any chance this can get looked at?

from transifex-client.

noliveleger avatar noliveleger commented on June 30, 2024

Any update from Python 3.10 support?

from transifex-client.

nelefth avatar nelefth commented on June 30, 2024

Hi all,

As it was officially announced (you can find more info here: https://community.transifex.com/t/postponing-api-2-0-2-5-and-transifex-client-sunset-date/2759), the sunset of the deprecated Transifex client has been scheduled for Nov 30, 2022.

We are not planning any further improvements there so as @goapunk said above, upgrading to the new cli (https://developers.transifex.com/docs/cli) is what we also highly recommend.

For any further assistance, feel free to reach out to us at [email protected].

from transifex-client.

Related Issues (20)

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.