I wasn't sure how to go about solving this, but I had a couple of ideas:
1.) Utilizing the fact that the rationales are a subset of the reals to say that $\sup (A) - \varepsilon < x < \pi$. However, I run into a brick wall. For this to happen, $\mathbb{Q}$ must have a least upper bound, which it does not by nature.
2.) Write $x = \frac{m}{n}$ and try to prove to the contrary that $x \geq \pi$. This should lead to a contradiction that should say that there will be a number greater than $x$ that is less than $\pi$, but I am not sure how to go about this strategy fully.
With a bit of research you may be able to prove that $3<\pi<4$. Hence $4$ is an upper bound for $A$ and $2$ is not. We conclude that a least upper bound exists. So let $a=\sup A$.
If $a<\pi$, then $\frac1{\pi-a}>0$. By the Archimedean property, there exists $n\in\Bbb N$ with $n>\frac1{\pi-a}$. Show that the set $\{\,k\in\Bbb N\mid \frac kn>a\,\}$ is non-empty, hence it has a minimal element $m$. Conclude that $a<\frac mn <\pi$, contradicting the upper-bound property of $a$.
If $a>\pi$, proceed similarly to find $\pi<\frac mn<a$, thus exhibiting a smaller upper bound than $a$.
Conclude that $a=\pi$.