The French Embassy in Morocco provides details about the conditions of entry into France from Morocco.
On its official Facebook page, it states that since August 1, the sanitary border control system has been lifted. As a result, the rules previously applied to travelers to France no longer apply. Thus, travelers no longer have to complete any formalities before arriving in France, whether in mainland France or overseas, and the presentation of a health pass can no longer be required, regardless of the country or zone of origin.
No more justification for travel (the “compelling reason”) can be required. In addition, travelers are no longer required to provide a sworn statement of non-contamination and a commitment to undergo an antigenic test or biological examination upon arrival in the country.