Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-20 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

BTW. It is very likely that you have **somewhere** another version of 
cryptography or openssl installed and it's messing around with your 
installation. There are no details on how you installed your airflow - other 
than that you used constraints. Maybe you can try to reinstall things from 
scratch.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13206335


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-20 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

What's the full stack trace you are getting ? which component exhibits that 
log? What kind of customisations you have vs. standard installation ?


GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13206325


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-20 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

Nothing works, I really do not understand how this is possible


GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13204623


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-20 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

The Flags that are used from Airflow are present only in cryptography 41 and 
42. I went through the code of cryptography and installing 42.0.8 is the first 
thing that I tried


GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13203335


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-19 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

This really look like cryptography issue. I see you opened one here: 
https://github.com/pyca/cryptography/issues/12944 and they suggest use later 
version of cryptography. 
Why do you use cryptography == 41.0.0  ? all the constraints for airflow 3.0* 
seem to use 42.*  

For example here: 
https://github.com/apache/airflow/blob/constraints-3.0.1/constraints-3.11.txt

```
cryptography==42.0.8
```

Also - 
https://linen.prefect.io/t/22769329/our-flow-runs-have-started-failing-today-with-the-following-
 has similar error and seems that it was solved by upgrading it to 42.0.8 ?




GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13196384


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-19 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

I checked and the flags are present in cryptography==41.0.0  but in spite of 
having them there and checking in the code, the problem persists.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13193497


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-19 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

> > I tried without any success, moreover I tried to upgrade on a different 
> > machine and had exactly the same issue.
> 
> Try on Debian bookworm. Airflow installs with no problems on that one - maybe 
> the OS you are using is just old an outdated. All our tests and installation 
> on Debian Bookworm work. What happens when you try it and follow our 
> guidelines ? Did you try it?
This is my version
Ubuntu 24.04.2 LTS

It is not outdated at all.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13192347


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-07 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

Also - you might try your luck by opening an issue in `cryptography` repo -> or 
look for a solution there. Cryptography different versions bundle or use system 
SSL in various capacities, and it might well be the combination of our 
"constraint" version of cryptography  does not work on your system due to bug 
in cryptography itself - you might try to use different version of cryptography 
(I saw it helped other people among google searches) or bumping some system 
libraries - but cryptography library developers are the best to advise on it.

Rememeber that while constraints are there to provide reproducible installation 
- they are also designed in the way that in case you have any issues with any 
of the libraries that you need to upgrade or downgrade , it's usually ok (adn 
up to you - deployment manager) to figure out how much you have to diverge from 
the default constraints in your partticular circumstances and environment - 
because for each installation the set of other libraries/dependencies/os/ 
system environment might be different - so we specifically designed constraints 
to be "default" and "reproducible" case in known environment (for sure working 
in Debian Bookworm) but left the freedom (and power) in the hand of the users 
deploying airflow to diverge from it as they see fit.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13061357


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-07 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

BTW. just to put it in perspective - remember this is an open-source project 
that have volunteers working on it and relasing the software- and it's tested 
for installation on a subset of environments.

You have not explained so far what is your OS/environment you run it on and 
what versions of OS's you have it installed on, but it's the least time lost by 
volunteers trying to help you is for you to follow "what works" rather than 
adjust to your specific OS and configuration.

If you actually explain what your configuration is, maybe it can be helped. Or 
maybe not - there is no guarantee that Airflow will install anywhere on however 
old and modified the OS environment is. If - for whatever reason - you cannot 
follow the recommendation (which in our case is Debian Bookworm where we test 
everything on) - and you have to stick to your OS, you might need a commercial 
support of whatever is making you to stay with the OS to solve any such issues.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13061293


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-07 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

> I tried without any success, moreover I tried to upgrade on a different 
> machine and had exactly the same issue.

Try on Debian bookworm. Airflow installs with no problems on that one - maybe 
the OS you are using is just old an outdated. All our tests and installation on 
Debian Bookworm work. What happens when you try it and follow our guidelines ? 
Did you try it?

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13061253


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-07 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

I tried without any success, moreover I tried to upgrade on a different machine 
and had exactly the same issue.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13059987


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-06 Thread via GitHub


GitHub user potiuk added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

https://www.google.com/search?q=cffi+library+%27_openssl%27+has+no+function%2C+constant+or+global+variable+named+%27Cryptography_HAS_ED448%27.+Did+you+mean%3A+%27Cryptography_HAS_ALPN%27%3F&rlz=1CAHPTE_enPL958PL958&oq=cffi+library+%27_openssl%27+has+no+function%2C+constant+or+global+variable+named+%27Cryptography_HAS_ED448%27.+Did+you+mean%3A+%27Cryptography_HAS_ALPN%27%3F&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAtIBBzc3NGowajeoAgCwAgA&sourceid=chrome&ie=UTF-8
Google-searched it and seems that you have to uninstallĀ /upgrade cryptography 
stack on your system - maybe even upgrade whatever base OS that you run thingsĀ 
on to the latest version. But that seems entirely dependent on whatever OS you 
are using and system libraries you have installed.


Generally search for similar issues and try to apply solutions found there.

GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13054897


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org



Re: [D] After upgrading to Airflow 3 I have the following issue with cryptography or pyOpenSSL [airflow]

2025-05-06 Thread via GitHub


GitHub user aipatr added a comment to the discussion: After upgrading to 
Airflow 3 I have the following issue with cryptography or pyOpenSSL

Could anyone help me? I am stuck here


GitHub link: 
https://github.com/apache/airflow/discussions/49865#discussioncomment-13053992


This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org